From ac224237921a271ae359f384329c3492c0801edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 22 Sep 2019 18:27:45 +0200 Subject: 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. --- test/flow_SUITE.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3