diff options
author | Loïc Hoguin <[email protected]> | 2019-01-06 11:42:12 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-01-06 11:42:12 +0100 |
commit | 9fa3fa25a8cafd7f5dd74d1ebc84c2258b5374bc (patch) | |
tree | 0813a4d8c2ff1a75a0b7f2366ddec9bd670f2ec6 /test | |
parent | 8336270331c8ffdc04e79f069df5b051adc62e68 (diff) | |
download | gun-9fa3fa25a8cafd7f5dd74d1ebc84c2258b5374bc.tar.gz gun-9fa3fa25a8cafd7f5dd74d1ebc84c2258b5374bc.tar.bz2 gun-9fa3fa25a8cafd7f5dd74d1ebc84c2258b5374bc.zip |
Add a timeout to prevent an intermittent failure
Diffstat (limited to 'test')
-rw-r--r-- | test/gun_SUITE.erl | 3 |
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 |