aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/driver_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/driver_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/driver_SUITE.erl')
-rw-r--r--erts/emulator/test/driver_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/driver_SUITE.erl b/erts/emulator/test/driver_SUITE.erl
index f134a197aa..a751fd251e 100644
--- a/erts/emulator/test/driver_SUITE.erl
+++ b/erts/emulator/test/driver_SUITE.erl
@@ -2427,7 +2427,7 @@ erl_millisecs() ->
erl_millisecs(erlang:monotonic_time()).
erl_millisecs(MonotonicTime) ->
- (1000*MonotonicTime)/erlang:convert_time_unit(1,seconds,native).
+ (1000*MonotonicTime)/erlang:convert_time_unit(1,second,native).
%% Start/stop drivers.
start_driver(Config, Name, Binary) ->
@@ -2481,7 +2481,7 @@ start_node(Config) when is_list(Config) ->
++ "-"
++ atom_to_list(proplists:get_value(testcase, Config))
++ "-"
- ++ integer_to_list(erlang:system_time(seconds))
+ ++ integer_to_list(erlang:system_time(second))
++ "-"
++ integer_to_list(erlang:unique_integer([positive]))),
test_server:start_node(Name, slave, [{args, "-pa "++Pa}]).