diff options
author | Rickard Green <[email protected]> | 2015-03-29 01:29:23 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-05-06 15:58:32 +0200 |
commit | f0d51083a6cda851ed60578a7679e20b1fe5678a (patch) | |
tree | 5a226fc49118adf9b42f4594c843082d9328a03f /erts/emulator/test/smoke_test_SUITE.erl | |
parent | e135070d4c7135228756e6a43dbdd638b565a499 (diff) | |
download | otp-f0d51083a6cda851ed60578a7679e20b1fe5678a.tar.gz otp-f0d51083a6cda851ed60578a7679e20b1fe5678a.tar.bz2 otp-f0d51083a6cda851ed60578a7679e20b1fe5678a.zip |
Replace erlang:now() usage in emulator suite
Diffstat (limited to 'erts/emulator/test/smoke_test_SUITE.erl')
-rw-r--r-- | erts/emulator/test/smoke_test_SUITE.erl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/erts/emulator/test/smoke_test_SUITE.erl b/erts/emulator/test/smoke_test_SUITE.erl index 10b7e16a74..4c50b8ba8c 100644 --- a/erts/emulator/test/smoke_test_SUITE.erl +++ b/erts/emulator/test/smoke_test_SUITE.erl @@ -167,16 +167,13 @@ start_node(Config) -> start_node(Config, Args) when is_list(Config) -> Pa = filename:dirname(code:which(?MODULE)), - {A, B, C} = now(), Name = list_to_atom(atom_to_list(?MODULE) ++ "-" ++ atom_to_list(?config(testcase, Config)) ++ "-" - ++ integer_to_list(A) + ++ integer_to_list(erlang:system_time(seconds)) ++ "-" - ++ integer_to_list(B) - ++ "-" - ++ integer_to_list(C)), + ++ integer_to_list(erlang:unique_integer([positive]))), Opts = [{args, "-pa "++Pa++" "++Args}], ?t:start_node(Name, slave, Opts). |