aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-20 13:26:02 +0100
committerLoïc Hoguin <[email protected]>2018-11-20 13:26:02 +0100
commit1a1fb95f567e34bdf39da92c4033a3047fc255c0 (patch)
treea1dbcd51a9041174716fe54d69416db13a752a33
parent7b5da290199fa0d668b8d9d8267e188b66da1eb3 (diff)
downloadcowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.tar.gz
cowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.tar.bz2
cowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.zip
Fix the request_timeout_infinity test
Wrong option was being tested.
-rw-r--r--test/http_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl
index 2c481af..87f8bed 100644
--- a/test/http_SUITE.erl
+++ b/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