diff options
author | Loïc Hoguin <[email protected]> | 2018-11-20 13:26:02 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-20 13:26:02 +0100 |
commit | 1a1fb95f567e34bdf39da92c4033a3047fc255c0 (patch) | |
tree | a1dbcd51a9041174716fe54d69416db13a752a33 /test/http_SUITE.erl | |
parent | 7b5da290199fa0d668b8d9d8267e188b66da1eb3 (diff) | |
download | cowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.tar.gz cowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.tar.bz2 cowboy-1a1fb95f567e34bdf39da92c4033a3047fc255c0.zip |
Fix the request_timeout_infinity test
Wrong option was being tested.
Diffstat (limited to 'test/http_SUITE.erl')
-rw-r--r-- | test/http_SUITE.erl | 2 |
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 |