diff options
author | Loïc Hoguin <[email protected]> | 2024-01-18 15:19:23 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-01-18 15:19:23 +0100 |
commit | e8b4715a9f462f841d6d7d46eff82690f004232b (patch) | |
tree | 8a34b2eb639658af24453cd0eec81b7df1aa3aeb /test/http_SUITE.erl | |
parent | 992ee6241d76b768d6091c27696afe3bc437a40f (diff) | |
download | cowboy-e8b4715a9f462f841d6d7d46eff82690f004232b.tar.gz cowboy-e8b4715a9f462f841d6d7d46eff82690f004232b.tar.bz2 cowboy-e8b4715a9f462f841d6d7d46eff82690f004232b.zip |
Reduce sleep in chunked_one_byte_at_a_time
To avoid having the connection get closed due to us taking
too long on unreliable environments like GitHub Actions.
Diffstat (limited to 'test/http_SUITE.erl')
-rw-r--r-- | test/http_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index bfe55da..070a690 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -90,7 +90,7 @@ chunked_one_byte_at_a_time(Config) -> "Transfer-encoding: chunked\r\n\r\n"), _ = [begin raw_send(Client, <<C>>), - timer:sleep(10) + timer:sleep(1) end || <<C>> <= ChunkedBody], Rest = case catch raw_recv_head(Client) of {'EXIT', _} -> error(closed); |