diff options
author | Loïc Hoguin <[email protected]> | 2023-12-15 16:22:06 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-12-15 16:22:06 +0100 |
commit | 1547e9b93e9a2b40e03edc6e84015dcbf9dccadb (patch) | |
tree | dcd40fc4ec923468e96fb0d8d45ea4ed3b7ff85e /test/handlers/loop_handler_timeout_info_h.erl | |
parent | a81dc8af9db314e074512e7fc096978c64c9bed1 (diff) | |
download | cowboy-1547e9b93e9a2b40e03edc6e84015dcbf9dccadb.tar.gz cowboy-1547e9b93e9a2b40e03edc6e84015dcbf9dccadb.tar.bz2 cowboy-1547e9b93e9a2b40e03edc6e84015dcbf9dccadb.zip |
Increase loop_handler_timeout timeouts
It seems that macOS GH runners don't do timeouts well.
Diffstat (limited to 'test/handlers/loop_handler_timeout_info_h.erl')
-rw-r--r-- | test/handlers/loop_handler_timeout_info_h.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/handlers/loop_handler_timeout_info_h.erl b/test/handlers/loop_handler_timeout_info_h.erl index 92f652e..7a1ccba 100644 --- a/test/handlers/loop_handler_timeout_info_h.erl +++ b/test/handlers/loop_handler_timeout_info_h.erl @@ -14,7 +14,7 @@ init(Req, _) -> {cowboy_loop, Req, undefined}. info(message, Req, State) -> - erlang:send_after(200, self(), message), + erlang:send_after(500, self(), message), {ok, Req, State, 100}; info(timeout, Req, State) -> {stop, cowboy_req:reply(<<"299 OK!">>, Req), State}. |