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

markt-asf 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 2692046eb6 Fix failing test.
2692046eb6 is described below

commit 2692046eb601d24da8d137a7803291caa277c6fa
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