aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cosNotification/test/notify_test_impl.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/cosNotification/test/notify_test_impl.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/cosNotification/test/notify_test_impl.erl')
-rw-r--r--lib/cosNotification/test/notify_test_impl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cosNotification/test/notify_test_impl.erl b/lib/cosNotification/test/notify_test_impl.erl
index dae7777089..4fe246ef16 100644
--- a/lib/cosNotification/test/notify_test_impl.erl
+++ b/lib/cosNotification/test/notify_test_impl.erl
@@ -289,10 +289,10 @@ disconnect_pull_supplier(_Self, State) ->
%%--------------- LOCAL FUNCTIONS ----------------------------
delay(Obj, Event, Time, Mod, F) ->
- io:format("notify_test:delay(~p) TIME: ~p~n",[Event, now()]),
+ io:format("notify_test:delay(~p) TIME: ~p~n",[Event, erlang:timestamp()]),
timer:sleep(Time),
Mod:F(Obj, Event),
- io:format("notify_test:delay() DONE: ~p~n",[now()]),
+ io:format("notify_test:delay() DONE: ~p~n",[erlang:timestamp()]),
ok.
%%--------------- END OF MODULE ------------------------------