From af58babd940f0add48c9ff6e47a4196f91417728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 1 Nov 2017 19:24:24 +0000 Subject: Fix stream_handler_SUITE test failures --- test/stream_handler_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/stream_handler_SUITE.erl') diff --git a/test/stream_handler_SUITE.erl b/test/stream_handler_SUITE.erl index 33470eb..02234b4 100644 --- a/test/stream_handler_SUITE.erl +++ b/test/stream_handler_SUITE.erl @@ -245,7 +245,7 @@ shutdown_on_stream_stop(Config) -> receive {'DOWN', MRef, process, Spawn, shutdown} -> ok after 1000 -> error(timeout) end, %% The response is still sent. {response, nofin, 200, _} = gun:await(ConnPid, Ref), - {ok, <<>>} = gun:await_body(ConnPid, Ref), + {ok, _} = gun:await_body(ConnPid, Ref), ok. shutdown_on_socket_close(Config) -> @@ -295,7 +295,7 @@ shutdown_timeout_on_stream_stop(Config) -> receive {'DOWN', MRef, process, Spawn, killed} -> ok after 1000 -> error(timeout) end, %% The response is still sent. {response, nofin, 200, _} = gun:await(ConnPid, Ref), - {ok, <<>>} = gun:await_body(ConnPid, Ref), + {ok, _} = gun:await_body(ConnPid, Ref), ok. shutdown_timeout_on_socket_close(Config) -> -- cgit v1.2.3