aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/estone_SUITE.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-08-24 14:24:34 +0200
committerRickard Green <[email protected]>2016-08-25 17:37:44 +0200
commitfc85e401ee279cc3b69635a71ffa93544ce5b99d (patch)
treeebf32fa7ad9cd3f84f00c3ecc7c1e0710289f3c2 /erts/emulator/test/estone_SUITE.erl
parent412b5aaa5810cbac75ef41d29a36898ff1480129 (diff)
downloadotp-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/estone_SUITE.erl')
-rw-r--r--erts/emulator/test/estone_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/test/estone_SUITE.erl b/erts/emulator/test/estone_SUITE.erl
index 1180a45585..3ce849b88e 100644
--- a/erts/emulator/test/estone_SUITE.erl
+++ b/erts/emulator/test/estone_SUITE.erl
@@ -364,7 +364,7 @@ monotonic_time() ->
try erlang:monotonic_time() catch error:undef -> erlang:now() end.
subtr(Before, After) when is_integer(Before), is_integer(After) ->
- erlang:convert_time_unit(After-Before, native, micro_seconds);
+ erlang:convert_time_unit(After-Before, native, microsecond);
subtr({_,_,_}=Before, {_,_,_}=After) ->
timer:now_diff(After, Before).