Author: markt Date: Fri Dec 7 17:46:35 2018 New Revision: 1848411 URL: http://svn.apache.org/viewvc?rev=1848411&view=rev Log: Try and debug test intermittent failures
Modified: tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java Modified: tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java?rev=1848411&r1=1848410&r2=1848411&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java (original) +++ tomcat/trunk/test/org/apache/coyote/http2/TestAsync.java Fri Dec 7 17:46:35 2018 @@ -188,7 +188,14 @@ public class TestAsync extends Http2Test } while (!output.getTrace().endsWith("3-EndOfStream\n")) { - parser.readFrame(true); + try { + parser.readFrame(true); + } catch (IOException ioe) { + // Attempt to debug intermittent test failures + System.out.println(output.getTrace()); + System.out.println(output.getBytesRead()); + throw ioe; + } } // Check that the right number of bytes were received --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org