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

commit 0cdfed957e0ce6aa5e6706174ead7aaaeddbea83
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jan 12 13:57:33 2022 +0000

    Reduce default timeouts for test client from infinite to 5 seconds.
---
 test/org/apache/catalina/startup/SimpleHttpClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/startup/SimpleHttpClient.java 
b/test/org/apache/catalina/startup/SimpleHttpClient.java
index cddd2e7..885fddd 100644
--- a/test/org/apache/catalina/startup/SimpleHttpClient.java
+++ b/test/org/apache/catalina/startup/SimpleHttpClient.java
@@ -199,7 +199,7 @@ public abstract class SimpleHttpClient {
         reader = new BufferedReader(r);
     }
     public void connect() throws UnknownHostException, IOException {
-        connect(0,0);
+        connect(5000, 5000);
     }
 
     protected OutputStream createOutputStream(Socket socket) throws 
IOException {

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to