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 b31bc60  Improve debugging
b31bc60 is described below

commit b31bc60af8255d32a54eeee2ce3098efb7ef6848
Author: Mark Thomas <ma...@apache.org>
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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to