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:47 UTC

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

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

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


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

commit 38a2f4ecda7917aec3332e93a79a3622a6709299
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 0a4c571..a89a762 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