This is an automated email from the ASF dual-hosted git repository.
rainerjung 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 d48accff1c Fix sporadic test failure in
TestAccessLogValveFile.testBufferedFlush()
d48accff1c is described below
commit d48accff1ca939636326428fbe8325dafc7a6396
Author: Rainer Jung <[email protected]>
AuthorDate: Sun May 3 12:01:34 2026 +0200
Fix sporadic test failure in TestAccessLogValveFile.testBufferedFlush()
---
test/org/apache/catalina/valves/TestAccessLogValveFile.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test/org/apache/catalina/valves/TestAccessLogValveFile.java
b/test/org/apache/catalina/valves/TestAccessLogValveFile.java
index fe850dc953..0b27282416 100644
--- a/test/org/apache/catalina/valves/TestAccessLogValveFile.java
+++ b/test/org/apache/catalina/valves/TestAccessLogValveFile.java
@@ -135,6 +135,9 @@ public class TestAccessLogValveFile extends TomcatBaseTest {
getUrl("http://localhost:" + getPort());
+ // Sporadic test failures if backgroundProcess is called
+ // directly after getUrl().
+ Thread.sleep(50);
// Flush via backgroundProcess since buffered=true
valve.backgroundProcess();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]