Skip to content

Commit f112ef3

Browse files
committed
Fix debug logging
1 parent 4dad318 commit f112ef3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

test/org/apache/coyote/http2/TestRfc9218.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public void testPriority() throws Exception {
7878
// Add 1k to the connection window. Should be used for stream 17.
7979
sendWindowUpdate(0, 1024);
8080
parser.readFrame();
81-
Assert.assertEquals("17-Body-1024\n", output.getTrace());
81+
trace = output.getTrace();
82+
Assert.assertEquals("17-Body-1024\n", trace);
8283
System.out.println(trace);
8384
output.clearTrace();
8485

@@ -94,7 +95,8 @@ public void testPriority() throws Exception {
9495
sendWindowUpdate(0, 1024);
9596
parser.readFrame();
9697

97-
Assert.assertEquals("21-Body-1024\n", output.getTrace());
98+
trace = output.getTrace();
99+
Assert.assertEquals("21-Body-1024\n", trace);
98100
System.out.println(trace);
99101
output.clearTrace();
100102

0 commit comments

Comments
 (0)