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/req_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/req_SUITE.erl') diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index cb54167..eafabfe 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -962,7 +962,7 @@ stream_body_content_length_nofin_error(Config) -> %% The server closes the connection when the body couldn't be sent fully. {error, {stream_error, closed}} -> receive - {gun_down, ConnPid, _, _, _, _} -> + {gun_down, ConnPid, _, _, _} -> gun:close(ConnPid) after 1000 -> error(timeout) -- cgit v1.2.3