This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new c78d895c51 Use standard GoAway handling for intermittent Windows NIO2
issues
c78d895c51 is described below
commit c78d895c5143cbd108d804d5f0aecef954f0a85f
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 8 16:33:54 2023 +0100
Use standard GoAway handling for intermittent Windows NIO2 issues
---
test/org/apache/coyote/http2/TestHttp2ConnectionTimeouts.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/test/org/apache/coyote/http2/TestHttp2ConnectionTimeouts.java
b/test/org/apache/coyote/http2/TestHttp2ConnectionTimeouts.java
index 5f1970daaf..c18fa3b1b6 100644
--- a/test/org/apache/coyote/http2/TestHttp2ConnectionTimeouts.java
+++ b/test/org/apache/coyote/http2/TestHttp2ConnectionTimeouts.java
@@ -16,7 +16,6 @@
*/
package org.apache.coyote.http2;
-import org.junit.Assert;
import org.junit.Test;
public class TestHttp2ConnectionTimeouts extends Http2TestBase {
@@ -33,8 +32,6 @@ public class TestHttp2ConnectionTimeouts extends
Http2TestBase {
validateHttp2InitialResponse();
// Wait for timeout - should receive GoAway frame
- parser.readFrame();
-
- Assert.assertEquals("0-Goaway-[1]-[0]-[null]", output.getTrace());
+ handleGoAwayResponse(1, Http2Error.NO_ERROR);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]