You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/02/10 20:01:25 UTC

[tomcat] branch 9.0.x updated: Fix rare test failure.

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/9.0.x by this push:
     new fe45e13  Fix rare test failure.
fe45e13 is described below

commit fe45e132ba0e572cee360e1f51f46e5e5296a2f4
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Feb 10 19:55:44 2020 +0000

    Fix rare test failure.
---
 test/org/apache/coyote/http2/TestHttp2Section_5_3.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
index 20a3b30..18eaf4f 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
@@ -55,6 +55,10 @@ public class TestHttp2Section_5_3 extends Http2TestBase {
         // This test uses small window updates that will trigger the excessive
         // overhead protection so disable it.
         http2Protocol.setOverheadWindowUpdateThreshold(0);
+        // May also see (rarely, depends on timing) sequential 1 byte data
+        // frames on the same Stream
+        http2Protocol.setOverheadDataThreshold(0);
+
 
         // Default connection window size is 64k - 1. Initial request will have
         // used 8k (56k -1). Increase it to 57k


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org