This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 66fb538138c2 chore: camel-lumberjack - disable flaky 
LumberjackMultiThreadIT on CI
66fb538138c2 is described below

commit 66fb538138c26f5181e2049791456cd2914de1fc
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Sep 11 11:42:02 2026 +0200

    chore: camel-lumberjack - disable flaky LumberjackMultiThreadIT on CI
    
    The test waits 35s on a latch whose threads each wait up to 30s inside
    LumberjackUtil.sendMessages() for the lumberjack ACK round-trip. On a
    loaded CI runner that budget is exceeded and all three attempts fail,
    so failsafe.rerunFailingTestsCount does not recover it.
    
    @Isolated only isolates within this module's JUnit engine; the CI build
    runs mvnd with two module threads, so a sibling module can saturate the
    node while these ITs run.
    
    Locally the test completes in ~9s, so it stays enabled for developers
    and is skipped only when ci.env.name is set.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    Signed-off-by: Claus Ibsen <[email protected]>
---
 .../apache/camel/component/lumberjack/LumberjackMultiThreadIT.java    | 4 ++++
 1 file changed, 4 insertions(+)

diff --git 
a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
 
b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
index ae8d51fdd188..f76cd062262f 100644
--- 
a/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
+++ 
b/components/camel-lumberjack/src/test/java/org/apache/camel/component/lumberjack/LumberjackMultiThreadIT.java
@@ -30,6 +30,7 @@ import org.awaitility.Awaitility;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import org.junit.jupiter.api.condition.DisabledOnOs;
 import org.junit.jupiter.api.condition.OS;
 import org.junit.jupiter.api.parallel.Isolated;
@@ -40,6 +41,9 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
 @DisabledOnOs(value = { OS.LINUX },
               architectures = { "s390x" },
               disabledReason = "This test does not run reliably multiple 
platforms (see CAMEL-21438)")
+@DisabledIfSystemProperty(named = "ci.env.name", matches = ".*",
+                          disabledReason = "Timing sensitive: the ACK 
round-trip exceeds the wait bounds on loaded CI runners, "
+                                           + "and @Isolated does not prevent a 
concurrently built module from saturating the node")
 @Isolated
 public class LumberjackMultiThreadIT extends CamelTestSupport {
 

Reply via email to