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

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


The following commit(s) were added to refs/heads/9.0.x by this push:
     new 22c7bbcb50 Use standard GoAway handling for intermittent Windows NIO2 
issues
22c7bbcb50 is described below

commit 22c7bbcb50320ce9fe56aec525f888f500f1022e
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to