diff options
author | Loïc Hoguin <[email protected]> | 2019-09-22 18:27:45 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-09-22 18:27:45 +0200 |
commit | ac224237921a271ae359f384329c3492c0801edc (patch) | |
tree | 6723133ed2da27558ead7bf73d994c9a6d4e784e | |
parent | 172804fd70f6b62be09ced4da9b736e0719542d2 (diff) | |
download | gun-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.erl | 2 |
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), |