aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/application_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-06-05 10:19:23 +0200
committerBjörn Gustavsson <[email protected]>2015-06-05 10:19:23 +0200
commit24a161d8c479e70ad55ebac18cd92ecc41dd607c (patch)
treea8a820696df69100100d11e282cdde291303bc9a /lib/kernel/test/application_SUITE.erl
parentccb7207b8ee271048905ef9b11448f98c645d533 (diff)
parent34e019dc29044e6f3b8d256a20f4ca83a3ac24a7 (diff)
downloadotp-24a161d8c479e70ad55ebac18cd92ecc41dd607c.tar.gz
otp-24a161d8c479e70ad55ebac18cd92ecc41dd607c.tar.bz2
otp-24a161d8c479e70ad55ebac18cd92ecc41dd607c.zip
Merge branch 'bjorn/kernel/cuddle-with-tests'
* bjorn/kernel/cuddle-with-tests: Clean up rpc_SUITE:call_benchmark/1 Eliminate use of erlang:now/0 for generating random numbers Eliminate use of erlang:now/0 for measuring time Eliminate use of erlang:now/0 for generating unique node names
Diffstat (limited to 'lib/kernel/test/application_SUITE.erl')
-rw-r--r--lib/kernel/test/application_SUITE.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/kernel/test/application_SUITE.erl b/lib/kernel/test/application_SUITE.erl
index 4901206c8e..59efe85480 100644
--- a/lib/kernel/test/application_SUITE.erl
+++ b/lib/kernel/test/application_SUITE.erl
@@ -2699,10 +2699,7 @@ node_names(Names, Config) ->
node_name(Name, Config) ->
U = "_",
- {{Y,M,D}, {H,Min,S}} = calendar:now_to_local_time(now()),
- Date = io_lib:format("~4w_~2..0w_~2..0w__~2..0w_~2..0w_~2..0w",
- [Y,M,D, H,Min,S]),
- L = lists:flatten(Date),
+ L = integer_to_list(erlang:unique_integer([positive])),
lists:concat([Name,U,?testcase,U,U,L]).
stop_node_nice(Node) when is_atom(Node) ->