This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push: new b2b72d9 Fix intermittent failures observed running tests locally b2b72d9 is described below commit b2b72d974b5c194a6905b1f9b0348943bb501240 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 32bad19..c8f463a 100644 --- a/test/org/apache/coyote/http2/TestHttp2Limits.java +++ b/test/org/apache/coyote/http2/TestHttp2Limits.java @@ -46,7 +46,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