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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 366359d4b4 Fix failing test.
366359d4b4 is described below

commit 366359d4b49b89df7b15a041ba7231fd71a7f0e8
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 27 17:08:15 2026 +0000

    Fix failing test.
    
    Test fails (as expected) after fix for "Remove HTTP/2 streams that are
    reset from the queue of streams waiting to be processed"
---
 .../org/apache/coyote/http2/TestStreamProcessorAsyncStreamError.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/test/org/apache/coyote/http2/TestStreamProcessorAsyncStreamError.java 
b/test/org/apache/coyote/http2/TestStreamProcessorAsyncStreamError.java
index 2dbe1ab311..fd1109d25a 100644
--- a/test/org/apache/coyote/http2/TestStreamProcessorAsyncStreamError.java
+++ b/test/org/apache/coyote/http2/TestStreamProcessorAsyncStreamError.java
@@ -125,8 +125,9 @@ public class TestStreamProcessorAsyncStreamError extends 
Http2TestBase {
      */
     @Test
     public void testStreamErrorThenStreamPrunedBeforeEventProcessed() throws 
Exception {
-        // Retain at most 5 * 2 streams
-        maxConcurrentStreams = 2;
+        // Retain at most 5 * 3 streams. One more than the active (blocking) 
stream and the retained (errored, ERROR event
+        // queued) stream so that new streams are not refused
+        maxConcurrentStreams = 3;
         // Only one stream may be processed at a time
         maxConcurrentStreamExecution = 1;
         startAsyncRequest();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to