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 2021/09/15 13:28:32 UTC
[tomcat] 02/05: Fix a potential cause of intermittent test failure
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 0d409fbeb62a594f681893f9a5585abcb6259656
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 15 13:47:35 2021 +0100
Fix a potential cause of intermittent test failure
---
test/org/apache/coyote/http2/TestHttp2Section_5_3.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
index d85c620..6001b3e 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_5_3.java
@@ -177,6 +177,11 @@ public class TestHttp2Section_5_3 extends Http2TestBase {
output.clearTrace();
}
+ // Need to give both server side threads enough time to request an
+ // allocation from the connection flow control window before sending
+ // the next window update.
+ Thread.sleep(1000);
+
sendWindowUpdate(0, 1024);
parser.readFrame(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org