diff options
author | Loïc Hoguin <[email protected]> | 2015-08-20 16:46:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-08-20 16:46:03 +0200 |
commit | 157b6b31c4f714ac5fb2f0a65d0d6b28a607bdcd (patch) | |
tree | 350b79651b4cd12665cdd172f6771b10ef093452 /test | |
parent | ee1f82782835096208059ea14d52bf2cc0283323 (diff) | |
download | ranch-157b6b31c4f714ac5fb2f0a65d0d6b28a607bdcd.tar.gz ranch-157b6b31c4f714ac5fb2f0a65d0d6b28a607bdcd.tar.bz2 ranch-157b6b31c4f714ac5fb2f0a65d0d6b28a607bdcd.zip |
Hopefully fix an intermittent test failure
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptor_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/acceptor_SUITE.erl b/test/acceptor_SUITE.erl index 8c0f658..3cf2d30 100644 --- a/test/acceptor_SUITE.erl +++ b/test/acceptor_SUITE.erl @@ -450,6 +450,7 @@ supervisor_conns_alive(_) -> TcpPort = ranch:get_port(Name), {ok, Socket} = gen_tcp:connect("localhost", TcpPort, [binary, {active, true}, {packet, raw}]), + receive after 500 -> ok end, %% Shut the socket down ok = gen_tcp:close(LSocket), %% Assert that client is still viable. |