mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Increase a timeout to make some slower tests pass
This commit is contained in:
parent
474cb359ce
commit
827bd8c1c9
1 changed files with 1 additions and 1 deletions
|
@ -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, <<>>}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue