This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 8.5.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push: new 1ebb3ff Fix intermittent failures observed running tests locally 1ebb3ff is described below commit 1ebb3ffd8a915f9e0cd723169538b2a9ccc86a6b Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Sep 9 08:51:56 2020 +0100 Fix intermittent failures observed running tests locally --- test/org/apache/coyote/http2/TestHttp2Limits.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/org/apache/coyote/http2/TestHttp2Limits.java b/test/org/apache/coyote/http2/TestHttp2Limits.java index 2fa0686..633f403 100644 --- a/test/org/apache/coyote/http2/TestHttp2Limits.java +++ b/test/org/apache/coyote/http2/TestHttp2Limits.java @@ -45,7 +45,13 @@ public class TestHttp2Limits extends Http2TestBase { for (int i = 0; i < 100; i++) { sendSettings(0, false); - parser.readFrame(true); + try { + parser.readFrame(true); + } catch (IOException ioe) { + // Server closed connection before client has a chance to read + // the Goaway frame. Treat this as a pass. + return; + } String trace = output.getTrace(); if (trace.equals("0-Settings-Ack\n")) { // Test continues --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org