diff options
author | Lars Thorsen <[email protected]> | 2016-05-17 12:29:28 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-05-18 15:23:08 +0200 |
commit | 121fc1f2bcc75f974d3dc4ff6a1af5f2b0cd0492 (patch) | |
tree | b80f97812a4c4db4a291b332457b17cd140d0213 /lib/inets/test | |
parent | 07906b7d9f1c2f72810d9ae12b38415cc3c1e86d (diff) | |
download | otp-121fc1f2bcc75f974d3dc4ff6a1af5f2b0cd0492.tar.gz otp-121fc1f2bcc75f974d3dc4ff6a1af5f2b0cd0492.tar.bz2 otp-121fc1f2bcc75f974d3dc4ff6a1af5f2b0cd0492.zip |
[inets] Remove calls to the inets_time_compat module
Diffstat (limited to 'lib/inets/test')
-rw-r--r-- | lib/inets/test/ftp_suite_lib.erl | 2 | ||||
-rw-r--r-- | lib/inets/test/httpc_SUITE.erl | 4 | ||||
-rw-r--r-- | lib/inets/test/httpd_time_test.erl | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/inets/test/ftp_suite_lib.erl b/lib/inets/test/ftp_suite_lib.erl index 71985df877..0f82b1c1c3 100644 --- a/lib/inets/test/ftp_suite_lib.erl +++ b/lib/inets/test/ftp_suite_lib.erl @@ -1353,7 +1353,7 @@ do_delete(Pid, Config) -> do_mkdir(Pid) -> NewDir = "earl_" ++ - integer_to_list(inets_time_compat:unique_integer([positive])), + integer_to_list(erlang:unique_integer([positive])), ok = ftp:cd(Pid, "incoming"), {ok, CurrDir} = ftp:pwd(Pid), diff --git a/lib/inets/test/httpc_SUITE.erl b/lib/inets/test/httpc_SUITE.erl index f9b3aa5b59..e6c4e48feb 100644 --- a/lib/inets/test/httpc_SUITE.erl +++ b/lib/inets/test/httpc_SUITE.erl @@ -2077,7 +2077,7 @@ run_clients(NumClients, ServerPort, SeqNumServer) -> wait4clients([], _Timeout) -> ok; wait4clients(Clients, Timeout) when Timeout > 0 -> - Time = inets_time_compat:monotonic_time(), + Time = erlang:monotonic_time(), receive {'DOWN', _MRef, process, Pid, normal} -> @@ -2177,7 +2177,7 @@ parse_connection_type(Request) -> end. set_random_seed() -> - Unique = inets_time_compat:unique_integer(), + Unique = erlang:unique_integer(), A = erlang:phash2([make_ref(), self(), Unique]), random:seed(A, A, A). diff --git a/lib/inets/test/httpd_time_test.erl b/lib/inets/test/httpd_time_test.erl index fddc0003cd..e858ddf4f6 100644 --- a/lib/inets/test/httpd_time_test.erl +++ b/lib/inets/test/httpd_time_test.erl @@ -117,7 +117,7 @@ main(N, SocketType, Host, Port, Time) loop(Pollers, Timeout) -> d("loop -> entry when" "~n Timeout: ~p", [Timeout]), - Start = inets_time_compat:monotonic_time(), + Start = erlang:monotonic_time(), receive {'EXIT', Pid, {poller_stat_failure, SocketType, Host, Port, Time, Reason}} -> |