This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/8.5.x by this push:
new b383cb4 Improve debugging
b383cb4 is described below
commit b383cb4a8532ffccfae6813a05e5c66fec64f54b
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 ab20e42..2deb727 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]