aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/req_SUITE.erl2
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, <<>>}