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 bcdb7d0 Reduce default timeouts for test client from infinite to 5
seconds.
bcdb7d0 is described below
commit bcdb7d020fbeb114cccb8fff09ba8b9ec854e4a7
Author: Mark Thomas <[email protected]>
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 2282823..d6514b1 100644
--- a/test/org/apache/catalina/startup/SimpleHttpClient.java
+++ b/test/org/apache/catalina/startup/SimpleHttpClient.java
@@ -206,7 +206,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: [email protected]
For additional commands, e-mail: [email protected]