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 | b57baf7ef94bde1f1b16bf558892d3ef25813ad1 (patch) | |
| tree | 52e1adc34dd382098c5875b22e6ba06742b21177 /src | |
| parent | 90fa7f36263fe8d86b037628d65a87915f1a3c91 (diff) | |
| download | rabbitmq-server-git-b57baf7ef94bde1f1b16bf558892d3ef25813ad1.tar.gz | |
fix test
connections only show up in 'list_connections' after the protocol
header has been sent
Diffstat (limited to 'src')
| -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 7257827ada..b845360e86 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), |
