Browse Source

Fix the request_timeout_infinity test

Wrong option was being tested.
Loïc Hoguin 6 years ago
parent
commit
1a1fb95f56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/http_SUITE.erl

+ 1 - 1
test/http_SUITE.erl

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