aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-03-27 18:24:10 +0100
committerLoïc Hoguin <[email protected]>2020-03-27 18:24:10 +0100
commit32b1b61559c02869410bcffd4418227db3473267 (patch)
treeb60dd19de7eec38ee14487a7b5def8edac6ba1a6 /test
parent7c11789b446633f81a14af1bda66392bad6a66c8 (diff)
downloadgun-32b1b61559c02869410bcffd4418227db3473267.tar.gz
gun-32b1b61559c02869410bcffd4418227db3473267.tar.bz2
gun-32b1b61559c02869410bcffd4418227db3473267.zip
Don't explictly wait for the message in reply_to tests
Diffstat (limited to 'test')
-rw-r--r--test/gun_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/gun_SUITE.erl b/test/gun_SUITE.erl
index b91dbf6..d533112 100644
--- a/test/gun_SUITE.erl
+++ b/test/gun_SUITE.erl
@@ -284,7 +284,8 @@ do_reply_to(Protocol) ->
ok = gen_tcp:send(ClientSocket, ResponseData),
ReplyTo ! Ref,
receive
- {response, _, _, _} ->
+ Msg ->
+ {response, _, _, _} = Msg,
gun:close(Pid)
end.