diff options
author | Rickard Green <rickard@erlang.org> | 2011-12-05 19:07:59 +0100 |
---|---|---|
committer | Rickard Green <rickard@erlang.org> | 2011-12-06 14:26:48 +0100 |
commit | ae337488eb3ad933ed5eeff5ab29130a180a3729 (patch) | |
tree | a6a45d2df6214b7910f60cff18ff5e08f300ac47 /erts | |
parent | 113968b2ed5f725b804f62ce22482874d3ece3a5 (diff) | |
download | otp-ae337488eb3ad933ed5eeff5ab29130a180a3729.tar.gz otp-ae337488eb3ad933ed5eeff5ab29130a180a3729.tar.bz2 otp-ae337488eb3ad933ed5eeff5ab29130a180a3729.zip |
Give slow machines more time to compute result
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/test/scheduler_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/scheduler_SUITE.erl b/erts/emulator/test/scheduler_SUITE.erl index debb54579b..05553c2028 100644 --- a/erts/emulator/test/scheduler_SUITE.erl +++ b/erts/emulator/test/scheduler_SUITE.erl @@ -55,7 +55,7 @@ scheduler_suspend/1, reader_groups/1]). --define(DEFAULT_TIMEOUT, ?t:minutes(10)). +-define(DEFAULT_TIMEOUT, ?t:minutes(15)). -define(MIN_SCHEDULER_TEST_TIMEOUT, ?t:minutes(1)). @@ -1684,7 +1684,7 @@ do_it(Tracer, Low, Normal, High, Max, RedsPerSchedLimit) -> EndWait = now(), BalanceWait = timer:now_diff(EndWait,StartWait) div 1000, erlang:display({balance_wait, BalanceWait}), - Timeout = ?DEFAULT_TIMEOUT - ?t:seconds(10) - BalanceWait, + Timeout = ?DEFAULT_TIMEOUT - ?t:minutes(4) - BalanceWait, Res = case Timeout < ?MIN_SCHEDULER_TEST_TIMEOUT of true -> stop_work(Low, Normal, High, Max), |