diff options
| -rw-r--r-- | test/src/timeout_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/timeout_tests.erl b/test/src/timeout_tests.erl index 7ba6e80500..800911b353 100644 --- a/test/src/timeout_tests.erl +++ b/test/src/timeout_tests.erl @@ -92,9 +92,9 @@ test_list_operations_timeout_pass() -> %% list connections {H, P} = find_listener(), - {ok, C} = gen_tcp:connect(H, P, []), + {ok, C} = gen_tcp:connect(H, P, [binary, {active, false}]), gen_tcp:send(C, <<"AMQP", 0, 0, 9, 1>>), - timer:sleep(100), + {ok, <<1,0,0>>} = gen_tcp:recv(C, 3, 100), ok = info_action(list_connections, rabbit_networking:connection_info_keys(), false, |
