diff options
author | Loïc Hoguin <[email protected]> | 2023-01-23 11:44:16 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-01-23 11:44:35 +0100 |
commit | ffa04a5019c0f09fb057c2c35bbaad979e36f9c5 (patch) | |
tree | 6c20f36365be952db242605ffe16c39c4ba076be /test/shutdown_SUITE.erl | |
parent | 1e26d7e51688dfd1b69626996879f6d370d75274 (diff) | |
download | gun-ffa04a5019c0f09fb057c2c35bbaad979e36f9c5.tar.gz gun-ffa04a5019c0f09fb057c2c35bbaad979e36f9c5.tar.bz2 gun-ffa04a5019c0f09fb057c2c35bbaad979e36f9c5.zip |
Linger a little at the end of a shutdown test connection
This is to avoid the TCP close eating data.
Diffstat (limited to 'test/shutdown_SUITE.erl')
-rw-r--r-- | test/shutdown_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/shutdown_SUITE.erl b/test/shutdown_SUITE.erl index 87de32c..357fbfb 100644 --- a/test/shutdown_SUITE.erl +++ b/test/shutdown_SUITE.erl @@ -311,6 +311,7 @@ http1_response_connection_close_delayed_body(_) -> timer:sleep(500), ok = gen_tcp:send(ClientSocket, " world!") after + timer:sleep(1000), gen_tcp:close(ClientSocket) end end, |