aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/long_timers_test.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-06-02 19:50:47 +0200
committerRickard Green <[email protected]>2015-06-09 19:35:48 +0200
commitf71ce89e2ca069b8526f27aee333deea9209a8b6 (patch)
treebfa45b29133db7dea457db89e0219c9274f4987d /erts/emulator/test/long_timers_test.erl
parent79729c7d95cfc2b163c55071589e83019247c5a1 (diff)
downloadotp-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.erl4
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(),