0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Improve reliability of a few tests

GitHub Actions runners are not as good as self-hosted BuildKite
so some adjustments need to be made to timeouts and such.
This commit is contained in:
Loïc Hoguin 2024-01-17 17:16:38 +01:00
parent cff9938a66
commit ecf3d43613
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764
2 changed files with 4 additions and 1 deletions

View file

@ -57,7 +57,8 @@ init_dispatch(Config) ->
{"/resp/:key[/:arg]", resp_h, []},
{"/multipart[/:key]", multipart_h, []},
{"/args/:key/:arg[/:default]", echo_h, []},
{"/crash/:key/period", echo_h, #{length => 999999999, period => 1000, crash => true}},
{"/crash/:key/period", echo_h,
#{length => 999999999, period => 1000, timeout => 5000, crash => true}},
{"/no-opts/:key", echo_h, #{crash => true}},
{"/opts/:key/length", echo_h, #{length => 1000}},
{"/opts/:key/period", echo_h, #{length => 999999999, period => 2000}},