diff options
author | Rickard Green <[email protected]> | 2015-06-02 19:50:47 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-06-09 19:35:48 +0200 |
commit | f71ce89e2ca069b8526f27aee333deea9209a8b6 (patch) | |
tree | bfa45b29133db7dea457db89e0219c9274f4987d /erts/emulator/test/long_timers_test.erl | |
parent | 79729c7d95cfc2b163c55071589e83019247c5a1 (diff) | |
download | otp-f71ce89e2ca069b8526f27aee333deea9209a8b6.tar.gz otp-f71ce89e2ca069b8526f27aee333deea9209a8b6.tar.bz2 otp-f71ce89e2ca069b8526f27aee333deea9209a8b6.zip |
Fix test cases
Diffstat (limited to 'erts/emulator/test/long_timers_test.erl')
-rw-r--r-- | erts/emulator/test/long_timers_test.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/long_timers_test.erl b/erts/emulator/test/long_timers_test.erl index f381332b51..8dd960ffd4 100644 --- a/erts/emulator/test/long_timers_test.erl +++ b/erts/emulator/test/long_timers_test.erl @@ -28,7 +28,7 @@ -define(MAX_TIMEOUT, 60). % Minutes --define(MAX_LATE_MS, 10*1000). % Milliseconds +-define(MAX_LATE_MS, 15*1000). % Milliseconds -define(REG_NAME, '___LONG___TIMERS___TEST___SERVER___'). -define(DRV_NAME, timer_driver). @@ -196,8 +196,8 @@ driver(Timeout) -> end. bif_timer(Timeout) -> - Tmr = erlang:start_timer(Timeout, self(), ok), Start = erlang:monotonic_time(), + Tmr = erlang:start_timer(Timeout, self(), ok), receive {get_result, ?REG_NAME} -> ?REG_NAME ! #timeout_rec{pid = self(), |