diff options
author | Loïc Hoguin <[email protected]> | 2019-10-02 10:10:43 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-02 10:10:43 +0200 |
commit | e1d452411873cc11530f5e01d30b5f27e38a9423 (patch) | |
tree | 095c54120bb2ed30a228f748a4922b0944d6c00b /test/cowboy_test.erl | |
parent | 6ddabc2c21498e66ad94a78f1839197c4090e704 (diff) | |
download | cowboy-e1d452411873cc11530f5e01d30b5f27e38a9423.tar.gz cowboy-e1d452411873cc11530f5e01d30b5f27e38a9423.tar.bz2 cowboy-e1d452411873cc11530f5e01d30b5f27e38a9423.zip |
Update gun_down messages in test suites
Diffstat (limited to 'test/cowboy_test.erl')
-rw-r--r-- | test/cowboy_test.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index 1591a5f..ffdc238 100644 --- a/test/cowboy_test.erl +++ b/test/cowboy_test.erl @@ -117,7 +117,7 @@ gun_open(Config, Opts) -> ConnPid. gun_down(ConnPid) -> - receive {gun_down, ConnPid, _, _, _, _} -> ok + receive {gun_down, ConnPid, _, _, _} -> ok after 500 -> error(timeout) end. %% Support functions for testing using a raw socket. |