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:00:52 UTC
[tomcat] branch master updated: Fix rare test failure.
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new ccab309 Fix rare test failure.
ccab309 is described below
commit ccab3098504deeeead8a49c8bdb31dfb660c15e4
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