Author: markt
Date: Fri Jun 12 12:48:44 2015
New Revision: 1685079
URL: http://svn.apache.org/r1685079
Log:
Fix test error highlighted by fix in window size handling
Modified:
tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
Modified: tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java?rev=1685079&r1=1685078&r2=1685079&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
(original)
+++ tomcat/trunk/test/org/apache/coyote/http2/TestHttp2Section_5_1.java Fri Jun
12 12:48:44 2015
@@ -212,10 +212,13 @@ public class TestHttp2Section_5_1 extend
sendSimpleRequest(5);
+ // Default connection window size is 64k - 1. Initial request will have
+ // used 8k (56k -1).
+ // Expecting
// 1 * headers
- // 64k of body (8 * 8k)
+ // 56k-1 of body (7 * ~8k)
// 1 * error (could be in any order)
- for (int i = 0; i < 9; i++) {
+ for (int i = 0; i < 8; i++) {
parser.readFrame(true);
}
parser.readFrame(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]