Skip to content

Commit b108f57

Browse files
Auto-port 4.1: Increase timeout in test to address flakyness (netty#17345)
Auto-port of netty#17342 to 4.1 Cherry-picked commit: ea2faef --- Motivation: The DataCompressionHttpTest.encodingTooBigMessage(...) operates on a lot of data so we should use a higher timeout when waiting on the latch so we not fail due of slow execution time on the CI Modifications: Increase timeout to 10 seconds Result: Hopefully less flaky test Co-authored-by: Norman Maurer <norman_maurer@apple.com>
1 parent e85cdc1 commit b108f57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codec-http2/src/test/java/io/netty/handler/codec/http2/DataCompressionHttp2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public void encodingTooBigMessage(final int padding, AsciiString compressionAlgo
263263
testEncodingMessage(padding, text, compressionAlgorithm, new Callable<Void>() {
264264
@Override
265265
public Void call() throws Exception {
266-
assertTrue(serverLatch.await(5, SECONDS));
266+
assertTrue(serverLatch.await(10, SECONDS));
267267
serverOut.flush();
268268
Throwable cause = serverException.get();
269269
if (cause == null) {

0 commit comments

Comments
 (0)