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 51e0739 Need to clear trace once validated 51e0739 is described below commit 51e0739b098f8ce0ad77bcc5cafa9a54fb260804 Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri Aug 21 21:22:13 2020 +0100 Need to clear trace once validated --- test/org/apache/coyote/http2/TestCancelledUpload.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/org/apache/coyote/http2/TestCancelledUpload.java b/test/org/apache/coyote/http2/TestCancelledUpload.java index 4a3126c..6c80d9c 100644 --- a/test/org/apache/coyote/http2/TestCancelledUpload.java +++ b/test/org/apache/coyote/http2/TestCancelledUpload.java @@ -75,7 +75,7 @@ public class TestCancelledUpload extends Http2TestBase { parser.readFrame(true); // If reset is first frame received end test here - if (output.getTrace().startsWith("3-RST-[3]\\n")) { + if (output.getTrace().startsWith("3-RST-[3]\n")) { return; } @@ -114,6 +114,7 @@ public class TestCancelledUpload extends Http2TestBase { Assert.assertEquals("3-Body-0\n" + "3-EndOfStream\n", output.getTrace()); + output.clearTrace(); // There must be a reset. There may be some WindowSize frames parser.readFrame(true); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org