diff options
author | Rickard Green <[email protected]> | 2011-12-06 14:28:13 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2011-12-06 14:28:13 +0100 |
commit | 8d02537d8062355d8f535d79097a37c5112692a0 (patch) | |
tree | 593014dbac8c5a641d3c4e5ea8e925c334986c57 /erts/emulator/test/mtx_SUITE.erl | |
parent | a02e9fc9be7ceea4185bd7b1b74cdd9922d4ce4e (diff) | |
parent | ae337488eb3ad933ed5eeff5ab29130a180a3729 (diff) | |
download | otp-8d02537d8062355d8f535d79097a37c5112692a0.tar.gz otp-8d02537d8062355d8f535d79097a37c5112692a0.tar.bz2 otp-8d02537d8062355d8f535d79097a37c5112692a0.zip |
Merge branch 'rickard/test-fixes-r15b'
* rickard/test-fixes-r15b:
Give slow machines more time to compute result
Allow more CPU time in waiting test-cases
Skip thread_mseg_alloc_cache_clean() when no mseg_alloc
Diffstat (limited to 'erts/emulator/test/mtx_SUITE.erl')
-rw-r--r-- | erts/emulator/test/mtx_SUITE.erl | 4 |
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) |