diff options
author | Loïc Hoguin <[email protected]> | 2018-05-16 14:04:38 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-16 14:04:58 +0200 |
commit | 827bd8c1c96fc022da43fe72d17e96b0610f7d10 (patch) | |
tree | 5072d7baf80556434ff2582dd6e2af9e146d3298 /test/req_SUITE.erl | |
parent | 474cb359ce94c3067baac0b018be1b69192ef020 (diff) | |
download | cowboy-827bd8c1c96fc022da43fe72d17e96b0610f7d10.tar.gz cowboy-827bd8c1c96fc022da43fe72d17e96b0610f7d10.tar.bz2 cowboy-827bd8c1c96fc022da43fe72d17e96b0610f7d10.zip |
Increase a timeout to make some slower tests pass
Diffstat (limited to 'test/req_SUITE.erl')
-rw-r--r-- | test/req_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index aa5387c..22434b6 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -77,7 +77,7 @@ do_body(Method, Path, Headers0, Body, Config) -> <<>> -> gun:request(ConnPid, Method, Path, Headers); _ -> gun:request(ConnPid, Method, Path, Headers, Body) end, - {response, IsFin, 200, RespHeaders} = gun:await(ConnPid, Ref), + {response, IsFin, 200, RespHeaders} = gun:await(ConnPid, Ref, 10000), {ok, RespBody} = case IsFin of nofin -> gun:await_body(ConnPid, Ref); fin -> {ok, <<>>} |