diff options
author | Loïc Hoguin <[email protected]> | 2020-03-27 18:24:10 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-03-27 18:24:10 +0100 |
commit | 32b1b61559c02869410bcffd4418227db3473267 (patch) | |
tree | b60dd19de7eec38ee14487a7b5def8edac6ba1a6 /test/gun_SUITE.erl | |
parent | 7c11789b446633f81a14af1bda66392bad6a66c8 (diff) | |
download | gun-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/gun_SUITE.erl')
-rw-r--r-- | test/gun_SUITE.erl | 3 |
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. |