This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new d83e372 Improve debugging
d83e372 is described below
commit d83e3720dc510bbf0b9ad1c79f3be96135dbd9ee
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Sep 8 19:49:00 2020 +0100
Improve debugging
---
test/org/apache/catalina/servlets/ServletOptionsBaseTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java
b/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java
index ff87482..86e4b26 100644
--- a/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java
+++ b/test/org/apache/catalina/servlets/ServletOptionsBaseTest.java
@@ -99,7 +99,7 @@ public abstract class ServletOptionsBaseTest extends
TomcatBaseTest {
client.connect();
client.processRequest();
- Assert.assertTrue(client.isResponse200());
+ Assert.assertTrue(client.getResponseLine(), client.isResponse200());
Set<String> allowed = client.getAllowedMethods();
client.disconnect();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]