diff options
author | Björn Gustavsson <[email protected]> | 2015-12-10 14:57:40 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-12-11 14:37:46 +0100 |
commit | 51f1e296e7d8709df6324f78e365446a22201cf1 (patch) | |
tree | 6bb5df25db15b3e1665d745ab847fc4a74855255 /lib/kernel/test/inet_SUITE.erl | |
parent | d8dab7ad987cb0d57bc2e4b2bbbec7ebe5ef2a04 (diff) | |
download | otp-51f1e296e7d8709df6324f78e365446a22201cf1.tar.gz otp-51f1e296e7d8709df6324f78e365446a22201cf1.tar.bz2 otp-51f1e296e7d8709df6324f78e365446a22201cf1.zip |
kernel test: Replace 'random' with 'rand'
Diffstat (limited to 'lib/kernel/test/inet_SUITE.erl')
-rw-r--r-- | lib/kernel/test/inet_SUITE.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/kernel/test/inet_SUITE.erl b/lib/kernel/test/inet_SUITE.erl index 5ba06bb032..d64a52fc2c 100644 --- a/lib/kernel/test/inet_SUITE.erl +++ b/lib/kernel/test/inet_SUITE.erl @@ -868,7 +868,6 @@ gethostnative_control_2(Seq, Interval, Delay, Cnt, N, Hosts) -> ?line Lookupers = [spawn_link( fun () -> - random:seed(), lookup_loop(Hosts, Delay, Tag, Parent, Cnt, Hosts) end) || _ <- lists:seq(1, N)], @@ -929,7 +928,7 @@ lookup_loop([H|Hs], Delay, Tag, Parent, Cnt, Hosts) -> Parent ! {Tag,Error} end, receive - after random:uniform(Delay) -> + after rand:uniform(Delay) -> lookup_loop(Hs, Delay, Tag, Parent, Cnt-1, Hosts) end. |