[tomcat] branch master updated: Improve debug logging for intermittently failing test
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/master by this push: new ea14796 Improve debug logging for intermittently failing test ea14796 is described below commit ea14796ca70895d04330b381aeb55f546f574250 Author: Mark Thomas AuthorDate: Thu Aug 27 14:09:16 2020 +0100 Improve debug logging for intermittently failing test --- test/org/apache/coyote/http2/TestHttp2Section_5_1.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java index 4aa40fc..5101ff4 100644 --- a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java +++ b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java @@ -416,7 +416,8 @@ public class TestHttp2Section_5_1 extends Http2TestBase { // Expecting // 1 * headers // 64k-1 of body (8 * ~8k) -// 1 * error (could be in any order) +// 1 * error +// Could be in any order for (int i = 0; i < 9; i++) { parser.readFrame(true); } @@ -424,7 +425,6 @@ public class TestHttp2Section_5_1 extends Http2TestBase { Assert.assertTrue(output.getTrace(), output.getTrace().contains("5-RST-[" + Http2Error.REFUSED_STREAM.getCode() + "]")); -output.clearTrace(); // Connection window is 8k. // Stream window is zero. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[tomcat] branch master updated: Improve debug logging
This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat.git The following commit(s) were added to refs/heads/master by this push: new 93b1e4d Improve debug logging 93b1e4d is described below commit 93b1e4dcb687c804d496a39a2d897d611409f489 Author: Mark Thomas AuthorDate: Thu Oct 10 16:49:08 2019 +0100 Improve debug logging --- java/org/apache/coyote/AbstractProtocol.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/coyote/AbstractProtocol.java b/java/org/apache/coyote/AbstractProtocol.java index 748be34..61180a8 100644 --- a/java/org/apache/coyote/AbstractProtocol.java +++ b/java/org/apache/coyote/AbstractProtocol.java @@ -1104,7 +1104,7 @@ public abstract class AbstractProtocol implements ProtocolHandler, ",name=" + getProtocol().getProtocolName() + "Request" + count); if (getLog().isDebugEnabled()) { -getLog().debug("Register " + rpName); +getLog().debug("Register [" + processor + "] as [" + rpName + "]"); } Registry.getRegistry(null, null).registerComponent(rp, rpName, null); - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org