aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/long_timers_test.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-06-10 18:07:33 +0200
committerRickard Green <[email protected]>2015-06-10 18:07:33 +0200
commitc8825f09f5df654ab89d417af827bfaa7f185066 (patch)
treed9255a7a58e01421f3571f4cd9074b557e8d3567 /erts/emulator/test/long_timers_test.erl
parentd395b5c5559a18e44258ca46e4b8703189d18067 (diff)
parentea84ab6c03994f8d6d9f07d8740f0547f8a3cb51 (diff)
downloadotp-c8825f09f5df654ab89d417af827bfaa7f185066.tar.gz
otp-c8825f09f5df654ab89d417af827bfaa7f185066.tar.bz2
otp-c8825f09f5df654ab89d417af827bfaa7f185066.zip
Merge branch 'rickard/timer-improvement/OTP-12650'
* rickard/timer-improvement/OTP-12650: Callback timer Disable accessor timer option Aux work flag descriptions 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(),