This is an automated email from the ASF dual-hosted git repository. markt 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 97ce7f957f Additional debug logging after CI test failure 97ce7f957f is described below commit 97ce7f957f0a893aa4f1429ada6ef9788874b81b Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Jul 27 20:55:48 2023 +0100 Additional debug logging after CI test failure Log the full trace before clearing it so the logs have the full picture of what was received. --- test/org/apache/coyote/http2/TestRfc9218.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/org/apache/coyote/http2/TestRfc9218.java b/test/org/apache/coyote/http2/TestRfc9218.java index c42fd6ed7b..6cfd557022 100644 --- a/test/org/apache/coyote/http2/TestRfc9218.java +++ b/test/org/apache/coyote/http2/TestRfc9218.java @@ -43,6 +43,10 @@ public class TestRfc9218 extends Http2TestBase { readSimpleGetResponse(); } + String trace = output.getTrace(); + System.out.println(trace); + output.clearTrace(); + // At this point the connection window should be 1k // Process a request on stream 17. This should consume the connection window. @@ -50,6 +54,8 @@ public class TestRfc9218 extends Http2TestBase { // 17-headers, 17-1k-body parser.readFrame(); parser.readFrame(); + trace = output.getTrace(); + System.out.println(trace); output.clearTrace(); // Send additional requests. Connection window is empty so only headers will be returned. @@ -59,6 +65,8 @@ public class TestRfc9218 extends Http2TestBase { // 19-headers, 21-headers parser.readFrame(); parser.readFrame(); + trace = output.getTrace(); + System.out.println(trace); output.clearTrace(); // At this point 17, 19 and 21 are all blocked because the connection window is zero. @@ -102,7 +110,7 @@ public class TestRfc9218 extends Http2TestBase { parser.readFrame(); parser.readFrame(); - String trace = output.getTrace(); + trace = output.getTrace(); Assert.assertTrue(trace.contains("17-Body-877\n")); trace = trace.replace("17-Body-877\n", ""); Assert.assertTrue(trace.contains("19-Body-1170\n")); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org