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
The following commit(s) were added to refs/heads/10.1.x by this push:
new fe13cbcbf0 Fix debug logging
fe13cbcbf0 is described below
commit fe13cbcbf03b976e31504c8640a2113da2d0d338
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Jun 19 15:47:24 2026 +0100
Fix debug logging
---
test/org/apache/coyote/http2/TestRfc9218.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/coyote/http2/TestRfc9218.java
b/test/org/apache/coyote/http2/TestRfc9218.java
index b0ba614a8e..9ed9540b2e 100644
--- a/test/org/apache/coyote/http2/TestRfc9218.java
+++ b/test/org/apache/coyote/http2/TestRfc9218.java
@@ -78,7 +78,8 @@ public class TestRfc9218 extends Http2TestBase {
// Add 1k to the connection window. Should be used for stream 17.
sendWindowUpdate(0, 1024);
parser.readFrame();
- Assert.assertEquals("17-Body-1024\n", output.getTrace());
+ trace = output.getTrace();
+ Assert.assertEquals("17-Body-1024\n", trace);
System.out.println(trace);
output.clearTrace();
@@ -94,7 +95,8 @@ public class TestRfc9218 extends Http2TestBase {
sendWindowUpdate(0, 1024);
parser.readFrame();
- Assert.assertEquals("21-Body-1024\n", output.getTrace());
+ trace = output.getTrace();
+ Assert.assertEquals("21-Body-1024\n", trace);
System.out.println(trace);
output.clearTrace();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]