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:
parent
7b5da29019
commit
1a1fb95f56
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue