This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new abe2204dff Fix test failure on my local CI system
abe2204dff is described below
commit abe2204dffbf97b87ce1153565ba32a68a0ea533
Author: unknown <[email protected]>
AuthorDate: Thu Oct 3 16:36:40 2024 +0100
Fix test failure on my local CI system
---
test/org/apache/catalina/manager/TestManagerWebapp.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/test/org/apache/catalina/manager/TestManagerWebapp.java
b/test/org/apache/catalina/manager/TestManagerWebapp.java
index 0d4324aa67..270ca63551 100644
--- a/test/org/apache/catalina/manager/TestManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestManagerWebapp.java
@@ -18,8 +18,10 @@ package org.apache.catalina.manager;
import java.io.File;
import java.io.FileReader;
+import java.io.IOException;
import java.io.PrintWriter;
import java.io.StringWriter;
+import java.net.UnknownHostException;
import java.nio.charset.StandardCharsets;
import jakarta.servlet.http.HttpServletResponse;
@@ -228,6 +230,12 @@ public class TestManagerWebapp extends TomcatBaseTest {
tomcat.start();
SimpleHttpClient client = new SimpleHttpClient() {
+ // 10s default too low for some CI systems
+ @Override
+ public void connect() throws UnknownHostException, IOException {
+ connect(30000,30000);
+ }
+
@Override
public boolean isResponseBodyOK() {
return true;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]