Author: markt Date: Tue Aug 18 09:04:42 2015 New Revision: 1696373 URL: http://svn.apache.org/r1696373 Log: Still not seeing the log info we need. Try a different approach.
Modified: tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java Modified: tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java?rev=1696373&r1=1696372&r2=1696373&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java (original) +++ tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_3.java Tue Aug 18 09:04:42 2015 @@ -118,12 +118,17 @@ public class TestHttp2Section_5_3 extend parser.readFrame(true); // Debugging Gump failure System.err.println(output.getTrace()); - // Temp try block to help gump log - try { - parser.readFrame(true); - } catch (Throwable t) { - Assert.fail(t.getMessage()); + + // This frame is not always written + int count = 0; + while (!parser.readFrame(false) && count < 10) { + Thread.sleep(100); + count++; + } + if (count == 10) { + Assert.fail("Second 1 byte body frame not received"); } + // Debugging Gump failure System.err.println(output.getTrace()); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org