aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-22 18:27:45 +0200
committerLoïc Hoguin <[email protected]>2019-09-22 18:27:45 +0200
commitac224237921a271ae359f384329c3492c0801edc (patch)
tree6723133ed2da27558ead7bf73d994c9a6d4e784e
parent172804fd70f6b62be09ced4da9b736e0719542d2 (diff)
downloadgun-ac224237921a271ae359f384329c3492c0801edc.tar.gz
gun-ac224237921a271ae359f384329c3492c0801edc.tar.bz2
gun-ac224237921a271ae359f384329c3492c0801edc.zip
Increase a timeout to avoid an intermittent test failure
I'm not exactly sure why it works but it seems to be solid now. I think the issue is around timeouts in the test and handler being too close to one another.
-rw-r--r--test/flow_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/flow_SUITE.erl b/test/flow_SUITE.erl
index 5076bbc..86c9c87 100644
--- a/test/flow_SUITE.erl
+++ b/test/flow_SUITE.erl
@@ -153,7 +153,7 @@ flow_http2(_) ->
{data, nofin, D2} = gun:await(ConnPid, StreamRef),
%% We consumed all the window available.
65535 = byte_size(D1) + byte_size(D2),
- {error, timeout} = gun:await(ConnPid, StreamRef, 3000),
+ {error, timeout} = gun:await(ConnPid, StreamRef, 3500),
%% We then update the flow and get *5* more data messages but no more.
gun:update_flow(ConnPid, StreamRef, 2),
{data, nofin, D3} = gun:await(ConnPid, StreamRef),