diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/gun_SUITE.erl | 2 | ||||
-rw-r--r-- | test/ws_autobahn_SUITE.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl index 715bec5..cd6b419 100644 --- a/test/gun_SUITE.erl +++ b/test/gun_SUITE.erl @@ -171,7 +171,7 @@ killed_streams_http(_) -> {response, nofin, 200, _} = gun:await(ConnPid, StreamRef), {ok, <<"hello world!">>} = gun:await_body(ConnPid, StreamRef), receive - {gun_down, ConnPid, http, normal, KilledStreams, _} -> + {gun_down, ConnPid, http, normal, KilledStreams} -> [] = KilledStreams, gun:close(ConnPid) after 1000 -> diff --git a/test/ws_autobahn_SUITE.erl b/test/ws_autobahn_SUITE.erl index c9a0912..0caf108 100644 --- a/test/ws_autobahn_SUITE.erl +++ b/test/ws_autobahn_SUITE.erl @@ -123,7 +123,7 @@ loop(Pid, MRef, StreamRef) -> {gun_ws, Pid, StreamRef, Frame} -> gun:ws_send(Pid, Frame), loop(Pid, MRef, StreamRef); - {gun_down, Pid, ws, _, _, _} -> + {gun_down, Pid, ws, _, _} -> close(Pid, MRef); {'DOWN', MRef, process, Pid, normal} -> close(Pid, MRef); |