aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/test/cdrcoding_11_SUITE.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2015-04-29 10:13:39 +0200
committerLars Thorsen <[email protected]>2015-05-08 12:32:15 +0200
commit2a2d6181184ccde3bc929981eeee662203142238 (patch)
tree3ceb52fc14d5211b2b78786d2e2117f6942f2491 /lib/orber/test/cdrcoding_11_SUITE.erl
parentc84295904be29cbcbd3f91d009db91eca94ff158 (diff)
downloadotp-2a2d6181184ccde3bc929981eeee662203142238.tar.gz
otp-2a2d6181184ccde3bc929981eeee662203142238.tar.bz2
otp-2a2d6181184ccde3bc929981eeee662203142238.zip
[orber, cos*] Remove usage of erlang:now() in test suites
Diffstat (limited to 'lib/orber/test/cdrcoding_11_SUITE.erl')
-rw-r--r--lib/orber/test/cdrcoding_11_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/orber/test/cdrcoding_11_SUITE.erl b/lib/orber/test/cdrcoding_11_SUITE.erl
index 29b3e33069..bcd2b70446 100644
--- a/lib/orber/test/cdrcoding_11_SUITE.erl
+++ b/lib/orber/test/cdrcoding_11_SUITE.erl
@@ -621,4 +621,6 @@ corba_fake_mk_objkey(Id, 'registered', RegName) when is_atom(RegName) ->
term_to_binary(undefined), term_to_binary(undefined)}.
make_objkey() ->
- term_to_binary({now(), node()}).
+ term_to_binary({{erlang:system_time(),
+ erlang:unique_integer()},
+ node()}).