aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-26 13:40:26 +0200
committerLoïc Hoguin <[email protected]>2019-09-26 13:41:02 +0200
commitddc87f339f441fe5b62455606cf6ed6fb8dbc461 (patch)
tree7d33d7bf37d2216b2e6a72c0280c1e26dea2c7b8 /test
parent00cc1f385f94823a0684deee001b643091e235b0 (diff)
downloadgun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.tar.gz
gun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.tar.bz2
gun-ddc87f339f441fe5b62455606cf6ed6fb8dbc461.zip
Remove UnprocessedStreams from the gun_down message
Diffstat (limited to 'test')
-rw-r--r--test/gun_SUITE.erl2
-rw-r--r--test/ws_autobahn_SUITE.erl2
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);