This is an automated email from the ASF dual-hosted git repository. markt-asf pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 43f28ca7b959dd3d00da13abb39340b2e990f64c 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]
