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 300300748a Fix test failure on my local CI system 300300748a is described below commit 300300748a7da80d56f139a6bd476dbf11dd6a55 Author: unknown <administra...@tomcat-test-win-2022.homeinbox.net> 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: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org