aboutsummaryrefslogtreecommitdiffstats
path: root/test/gun_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/gun_SUITE.erl')
-rw-r--r--test/gun_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl
index 6da5ca6..d580ed3 100644
--- a/test/gun_SUITE.erl
+++ b/test/gun_SUITE.erl
@@ -68,7 +68,8 @@ detect_owner_gone(_) ->
spawn(fun() ->
{ok, ConnPid} = gun:open("localhost", Port),
Self ! {conn, ConnPid},
- gun:await_up(ConnPid)
+ gun:await_up(ConnPid),
+ timer:sleep(100)
end),
{ok, _} = gen_tcp:accept(ListenSocket, 5000),
Pid = receive