diff options
author | Rickard Green <[email protected]> | 2016-08-24 14:24:34 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-08-25 17:37:44 +0200 |
commit | fc85e401ee279cc3b69635a71ffa93544ce5b99d (patch) | |
tree | ebf32fa7ad9cd3f84f00c3ecc7c1e0710289f3c2 /erts/emulator/test/after_SUITE.erl | |
parent | 412b5aaa5810cbac75ef41d29a36898ff1480129 (diff) | |
download | otp-fc85e401ee279cc3b69635a71ffa93544ce5b99d.tar.gz otp-fc85e401ee279cc3b69635a71ffa93544ce5b99d.tar.bz2 otp-fc85e401ee279cc3b69635a71ffa93544ce5b99d.zip |
Update test-cases to use new symbolic time units
Diffstat (limited to 'erts/emulator/test/after_SUITE.erl')
-rw-r--r-- | erts/emulator/test/after_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/after_SUITE.erl b/erts/emulator/test/after_SUITE.erl index 4f20ad3656..b1f7e06bf5 100644 --- a/erts/emulator/test/after_SUITE.erl +++ b/erts/emulator/test/after_SUITE.erl @@ -223,7 +223,7 @@ recv_after_32bit(_, _) -> blaster() -> receive {go, TimeoutTime} -> - Tmo = TimeoutTime - erlang:monotonic_time(milli_seconds), + Tmo = TimeoutTime - erlang:monotonic_time(millisecond), receive after Tmo -> ok end end. @@ -234,7 +234,7 @@ spawn_blasters(N) -> receive_after_blast(Config) when is_list(Config) -> PMs = spawn_blasters(10000), - TimeoutTime = erlang:monotonic_time(milli_seconds) + 5000, + TimeoutTime = erlang:monotonic_time(millisecond) + 5000, lists:foreach(fun ({P, _}) -> P ! {go, TimeoutTime} end, PMs), lists:foreach(fun ({P, M}) -> receive |