diff options
Diffstat (limited to 'test/cowboy_test.erl')
-rw-r--r-- | test/cowboy_test.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index 1591a5f..ffdc238 100644 --- a/test/cowboy_test.erl +++ b/test/cowboy_test.erl @@ -117,7 +117,7 @@ gun_open(Config, Opts) -> ConnPid. gun_down(ConnPid) -> - receive {gun_down, ConnPid, _, _, _, _} -> ok + receive {gun_down, ConnPid, _, _, _} -> ok after 500 -> error(timeout) end. %% Support functions for testing using a raw socket. |