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

markt 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 7ace061  Improve debug logging for intermittently failing test
7ace061 is described below

commit 7ace06156197ad3aa69d103f668e0e4857c6beb8
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 6ec315a..740532f 100644
--- a/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
+++ b/test/org/apache/coyote/http2/TestHttp2Section_5_1.java
@@ -427,7 +427,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);
         }
@@ -435,7 +436,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