From e1d452411873cc11530f5e01d30b5f27e38a9423 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 2 Oct 2019 10:10:43 +0200 Subject: Update gun_down messages in test suites --- test/cowboy_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/cowboy_test.erl') 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. -- cgit v1.2.3