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

Fix the request_timeout_infinity test

Wrong option was being tested.
This commit is contained in:
Loïc Hoguin 2018-11-20 13:26:02 +01:00
parent 7b5da29019
commit 1a1fb95f56
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -127,7 +127,7 @@ request_timeout_infinity(Config) ->
doc("Ensure the request_timeout option accepts the infinity value."), doc("Ensure the request_timeout option accepts the infinity value."),
{ok, _} = cowboy:start_clear(?FUNCTION_NAME, [{port, 0}], #{ {ok, _} = cowboy:start_clear(?FUNCTION_NAME, [{port, 0}], #{
env => #{dispatch => cowboy_router:compile(init_routes(Config))}, env => #{dispatch => cowboy_router:compile(init_routes(Config))},
idle_timeout => infinity request_timeout => infinity
}), }),
Port = ranch:get_port(?FUNCTION_NAME), Port = ranch:get_port(?FUNCTION_NAME),
try try