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 <ma...@apache.org>
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

Reply via email to