Aurélien Pupier created CAMEL-25348:
---------------------------------------

             Summary: Fix flaky test LumberjackComponentTest
                 Key: CAMEL-25348
                 URL: https://issues.apache.org/jira/browse/CAMEL-25348
             Project: Camel
          Issue Type: Test
          Components: camel-lumberjack
    Affects Versions: 4.23.0
            Reporter: Aurélien Pupier


[failed 3 times and flaky 6 times in last 90 
days|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*LumberjackComponentTest]

note it seems sllghtly more flaky when running with full build and -T1C option

{noformat}
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression 
in org.apache.camel.component.lumberjack.LumberjackUtil was not fulfilled 
within 30 seconds.    
        at 
org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)        
        at 
org.awaitility.core.CallableCondition.await(CallableCondition.java:78)       
        at 
org.awaitility.core.CallableCondition.await(CallableCondition.java:26)       
        at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)       
        at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1129)       
        at 
org.apache.camel.component.lumberjack.LumberjackUtil.sendMessages(LumberjackUtil.java:100)
   
        at 
org.apache.camel.component.lumberjack.LumberjackUtil.sendMessages(LumberjackUtil.java:51)
    
        at 
org.apache.camel.component.lumberjack.LumberjackComponentTest.shouldListenToMessages(LumberjackComponentTest.java:62)
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to