Author: markt Date: Mon Oct 19 19:39:12 2015 New Revision: 1709470 URL: http://svn.apache.org/viewvc?rev=1709470&view=rev Log: Adjust the margins again
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=1709470&r1=1709469&r2=1709470&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 Mon Oct 19 19:39:12 2015 @@ -195,14 +195,14 @@ public class TestHttp2Section_5_3 extend seen19 = true; // If everything works instantly this should be 256 but allow a // fairly large margin for timing differences - if (data[1] < 256 || data[1] > 290) { + if (data[1] < 236 || data[1] > 276) { Assert.fail("Unexpected body size: [" + output.getTrace() + "]"); } } else if (data[0] == 21) { seen21 = true; // If everything works instantly this should be 768 but allow a // fairly large margin for timing differences - if (data[1] < 768 || data[1] > 800) { + if (data[1] < 748 || data[1] > 788) { Assert.fail("Unexpected body size: [" + output.getTrace() + "]"); } } else { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org