aboutsummaryrefslogtreecommitdiffstats
path: root/test/stream_handler_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-29 17:03:16 +0100
committerLoïc Hoguin <[email protected]>2017-11-29 17:03:16 +0100
commit1066a8d3763c75a1d63ef347e0caa4971c1aa494 (patch)
treeee558e8309d6f2847922b593f03232345b94e438 /test/stream_handler_SUITE.erl
parentcf3ab5832ad7033219b0f6a806be12c0e9cc9816 (diff)
downloadcowboy-1066a8d3763c75a1d63ef347e0caa4971c1aa494.tar.gz
cowboy-1066a8d3763c75a1d63ef347e0caa4971c1aa494.tar.bz2
cowboy-1066a8d3763c75a1d63ef347e0caa4971c1aa494.zip
Remove two warnings in test suites
Diffstat (limited to 'test/stream_handler_SUITE.erl')
-rw-r--r--test/stream_handler_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stream_handler_SUITE.erl b/test/stream_handler_SUITE.erl
index 04e1dcf..231e97a 100644
--- a/test/stream_handler_SUITE.erl
+++ b/test/stream_handler_SUITE.erl
@@ -380,6 +380,7 @@ do_terminate_on_switch_protocol(Config) ->
]),
%% Confirm init/3 is called and receive the response.
Pid = receive {Self, P, init, _, _, _} -> P after 1000 -> error(timeout) end,
+ {inform, 101, _} = gun:await(ConnPid, Ref),
%% Confirm terminate/3 is called.
receive {Self, Pid, terminate, _, _, _} -> ok after 1000 -> error(timeout) end,
%% Confirm takeover/7 is called.