diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-18 14:04:08 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2013-01-18 14:04:08 +0000 |
commit | d5679358424983a04b70e7e605f4c311fcc0395e (patch) | |
tree | 52e1adc34dd382098c5875b22e6ba06742b21177 | |
parent | ad61bbf463646ff7f74ec80dc0feebff3fd24dad (diff) | |
download | rabbitmq-server-d5679358424983a04b70e7e605f4c311fcc0395e.tar.gz |
fix test
connections only show up in 'list_connections' after the protocol
header has been sent
-rw-r--r-- | src/rabbit_tests.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index 7257827a..b845360e 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -1123,7 +1123,8 @@ test_server_status() -> [L || L = #listener{node = N} <- rabbit_networking:active_listeners(), N =:= node()], - {ok, _C} = gen_tcp:connect(H, P, []), + {ok, C} = gen_tcp:connect(H, P, []), + gen_tcp:send(C, <<"AMQP", 0, 0, 9, 1>>), timer:sleep(100), ok = info_action(list_connections, rabbit_networking:connection_info_keys(), false), |