You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/10/12 09:21:16 UTC
[tomcat] branch main updated: More debug information for failures
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 842a39d More debug information for failures
842a39d is described below
commit 842a39d42e57950d95fb6e780d8cc00829690e29
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Oct 12 10:21:05 2021 +0100
More debug information for failures
---
test/jakarta/servlet/http/TestHttpServletDoHead.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/jakarta/servlet/http/TestHttpServletDoHead.java b/test/jakarta/servlet/http/TestHttpServletDoHead.java
index 400e791..5891da5 100644
--- a/test/jakarta/servlet/http/TestHttpServletDoHead.java
+++ b/test/jakarta/servlet/http/TestHttpServletDoHead.java
@@ -167,9 +167,9 @@ public class TestHttpServletDoHead extends Http2TestBase {
int i = 0;
for (; i < getHeaders.length; i++) {
// Headers should be the same, ignoring the first character which is the steam ID
- Assert.assertEquals(getHeaders[i], '3', getHeaders[i].charAt(0));
- Assert.assertEquals(headHeaders[i], '5', headHeaders[i].charAt(0));
- Assert.assertEquals(getHeaders[i].substring(1), headHeaders[i].substring(1));
+ Assert.assertEquals(getHeaders[i] + "\n" + traceGet + traceHead, '3', getHeaders[i].charAt(0));
+ Assert.assertEquals(headHeaders[i] + "\n" + traceGet + traceHead, '5', headHeaders[i].charAt(0));
+ Assert.assertEquals(traceGet + traceHead, getHeaders[i].substring(1), headHeaders[i].substring(1));
}
// Stream 5 should have one more trace entry
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org