Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Use rand directly in master because we require Erlang 18.3
Browse files Browse the repository at this point in the history
References rabbitmq/rabbitmq-server#860.
[#122335241]
  • Loading branch information
dumbbell committed Jun 29, 2016
1 parent 84ca176 commit b57177d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rabbit_mgmt_http_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -2040,7 +2040,7 @@ spawn_invalid(_Config, 0) ->
spawn_invalid(Config, N) ->
Self = self(),
spawn(fun() ->
timer:sleep(rand_compat:uniform(250)),
timer:sleep(rand:uniform(250)),
{ok, Sock} = gen_tcp:connect("localhost", amqp_port(Config), [list]),
ok = gen_tcp:send(Sock, "Some Data"),
receive_msg(Self)
Expand Down

0 comments on commit b57177d

Please sign in to comment.