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 9e99194b7b Another attempt to address GitHub CI failures
9e99194b7b is described below

commit 9e99194b7ba4b7db1132b767dc3188de9cb1b8b1
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Mar 19 07:22:35 2025 +0000

    Another attempt to address GitHub CI failures
---
 test/org/apache/catalina/valves/TestExtendedAccessLogValve.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/test/org/apache/catalina/valves/TestExtendedAccessLogValve.java 
b/test/org/apache/catalina/valves/TestExtendedAccessLogValve.java
index 30dcb7a5ed..9d2b426a70 100644
--- a/test/org/apache/catalina/valves/TestExtendedAccessLogValve.java
+++ b/test/org/apache/catalina/valves/TestExtendedAccessLogValve.java
@@ -47,7 +47,7 @@ public class TestExtendedAccessLogValve extends 
TomcatBaseTest {
 
     // Requests can return in the client before log() has been called
     private static final long SLEEP = 2;
-    private static final long SLEEP_MAX = 2000;
+    private static final long SLEEP_MAX = 21000;
 
     @Parameterized.Parameters(name = "{index}: pattern=[{0}]")
     public static Collection<Object[]> data() {
@@ -146,8 +146,6 @@ public class TestExtendedAccessLogValve extends 
TomcatBaseTest {
         int status = getUrl(url, out, reqHead, resHead);
         Assert.assertEquals(HttpServletResponse.SC_OK, status);
 
-        tomcat.stop();
-
         long startWait = System.currentTimeMillis();
         String content = writer.toString();
         while (countLogLines(content) == 0 && System.currentTimeMillis() - 
startWait < SLEEP_MAX) {
@@ -160,7 +158,7 @@ public class TestExtendedAccessLogValve extends 
TomcatBaseTest {
         }
 
         processLogContent(content);
-    }
+}
 
 
     private int countLogLines(String content) {


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

Reply via email to