aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/emem_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-06 20:09:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 12:10:13 +0200
commit6e810f587a35606e1031e4f8e673a62c96015efd (patch)
treeb9c9d9816ccb639a0278d3dfe80d3adaafd30104 /lib/tools/test/emem_SUITE.erl
parent8ccea1c2c756d8bc548ee6ba3e10f5a583aca7e7 (diff)
downloadotp-6e810f587a35606e1031e4f8e673a62c96015efd.tar.gz
otp-6e810f587a35606e1031e4f8e673a62c96015efd.tar.bz2
otp-6e810f587a35606e1031e4f8e673a62c96015efd.zip
Eliminate erlang:now/0
Diffstat (limited to 'lib/tools/test/emem_SUITE.erl')
-rw-r--r--lib/tools/test/emem_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tools/test/emem_SUITE.erl b/lib/tools/test/emem_SUITE.erl
index 7865c91f31..ddd11b6a22 100644
--- a/lib/tools/test/emem_SUITE.erl
+++ b/lib/tools/test/emem_SUITE.erl
@@ -670,10 +670,10 @@ has_prefix(_, _) ->
strip(Str) -> string:strip(Str).
mk_nodename(Config) ->
- {A, B, C} = now(),
+ Us = erlang:monotonic_time(),
atom_to_list(?MODULE)
++ "-" ++ atom_to_list(?config(testcase, Config))
- ++ "-" ++ integer_to_list(A*1000000000000 + B*1000000 + C).
+ ++ integer_to_list(Us).
start_node(Name, Args) ->
Pa = filename:dirname(code:which(?MODULE)),