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

markt-asf 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 a0ba7ef612 Fix debug logging
a0ba7ef612 is described below

commit a0ba7ef61260d8d6e5c70f1bc8dbc0aab21fbfb9
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]

Reply via email to