aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2011-12-05 19:07:16 +0100
committerRickard Green <[email protected]>2011-12-06 14:25:42 +0100
commit113968b2ed5f725b804f62ce22482874d3ece3a5 (patch)
tree239d9ec7d0f2fa49225db9ec99f44db78339ca48
parentf19ed0a708f84250dcb00a16706b3a398b95b35f (diff)
downloadotp-113968b2ed5f725b804f62ce22482874d3ece3a5.tar.gz
otp-113968b2ed5f725b804f62ce22482874d3ece3a5.tar.bz2
otp-113968b2ed5f725b804f62ce22482874d3ece3a5.zip
Allow more CPU time in waiting test-cases
-rw-r--r--erts/emulator/test/mtx_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/mtx_SUITE.erl b/erts/emulator/test/mtx_SUITE.erl
index 879d2f61dd..024c3456a8 100644
--- a/erts/emulator/test/mtx_SUITE.erl
+++ b/erts/emulator/test/mtx_SUITE.erl
@@ -122,7 +122,7 @@ long_rwlock(Config) when is_list(Config) ->
%% A very short run time is expected, since
%% threads in the test mostly wait
?t:format("RunTime=~p~n", [RunTime]),
- ?line true = RunTime < 100,
+ ?line true = RunTime < 400,
?line RunTimeStr = "Run-time during test was "++integer_to_list(RunTime)++" ms.",
case LLRes of
ok ->
@@ -281,7 +281,7 @@ hammer_sched_rwlock_test(FreqRead, LockCheck, Blocking, WaitLocked, WaitUnlocked
_ ->
{_, RunTime} = statistics(runtime),
?t:format("RunTime=~p~n", [RunTime]),
- ?line true = RunTime < 500,
+ ?line true = RunTime < 700,
{comment,
"Run-time during test was "
++ integer_to_list(RunTime)