diff options
author | Lars Thorsen <[email protected]> | 2015-04-29 10:13:39 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2015-05-08 12:32:15 +0200 |
commit | 2a2d6181184ccde3bc929981eeee662203142238 (patch) | |
tree | 3ceb52fc14d5211b2b78786d2e2117f6942f2491 /lib/orber/test/multi_ORB_SUITE.erl | |
parent | c84295904be29cbcbd3f91d009db91eca94ff158 (diff) | |
download | otp-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/multi_ORB_SUITE.erl')
-rw-r--r-- | lib/orber/test/multi_ORB_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/orber/test/multi_ORB_SUITE.erl b/lib/orber/test/multi_ORB_SUITE.erl index 40d8846e0f..3d0132c3e6 100644 --- a/lib/orber/test/multi_ORB_SUITE.erl +++ b/lib/orber/test/multi_ORB_SUITE.erl @@ -922,9 +922,9 @@ max_requests(Node, Host, Port) -> spawn(orber_test_server, pseudo_call_delay, [Obj, 15000]), %% Wait for a second to be sure that the previous request has been sent timer:sleep(1000), - {MegaSecsB, Before, _} = now(), + {MegaSecsB, Before, _} = erlang:timestamp(), pseudo_calls(5, Obj), - {MegaSecsA, After, _} = now(), + {MegaSecsA, After, _} = erlang:timestamp(), %% Normally we we can perform hundreds of pseudo-calls per second. Hence, %% if we add 8 seconds to 'Before' it should still be less since we only %% allow one request at a time to the target ORB. |