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 d021d5d Fix intermittently failing test
d021d5d is described below
commit d021d5d7f119bf27d6c88d98c8f2080fc956b72a
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Sep 9 09:54:47 2020 +0100
Fix intermittently failing test
Writes as well as reads will break if the server closes the connection
---
test/org/apache/coyote/http2/TestHttp2Limits.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/coyote/http2/TestHttp2Limits.java
b/test/org/apache/coyote/http2/TestHttp2Limits.java
index 633f403..327bfde 100644
--- a/test/org/apache/coyote/http2/TestHttp2Limits.java
+++ b/test/org/apache/coyote/http2/TestHttp2Limits.java
@@ -44,8 +44,8 @@ public class TestHttp2Limits extends Http2TestBase {
http2Connect(false);
for (int i = 0; i < 100; i++) {
- sendSettings(0, false);
try {
+ sendSettings(0, false);
parser.readFrame(true);
} catch (IOException ioe) {
// Server closed connection before client has a chance to read
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]