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

             Summary: Fix flaky test 
BacklogTracerMessageHistoryMulticastSedaTest
                 Key: CAMEL-27596
                 URL: https://issues.apache.org/jira/browse/CAMEL-27596
             Project: Camel
          Issue Type: Test
          Components: camel-management
            Reporter: Aurélien Pupier
             Fix For: 4.24.0


[flakyu 2% of the 
time|https://develocity.apache.org/scans/tests?search.relativeStartTime=P28D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.management.BacklogTracerMessageHistoryMulticastSedaTest]

{noformat}
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a 
Lambda expression in 
org.apache.camel.management.BacklogTracerMessageHistoryMulticastSedaTest Should 
contain slow-route events (async branch via seda) ==> expected: <true> but was: 
<false> within 10 seconds. 
        at 
org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)        
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)    
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)     
        at 
org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)       
        at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)   
     
        at 
org.apache.camel.management.BacklogTracerMessageHistoryMulticastSedaTest.testMulticastToSedaCapturesBothBranches(BacklogTracerMessageHistoryMulticastSedaTest.java:60)
       
Caused by: org.opentest4j.AssertionFailedError: Should contain slow-route 
events (async branch via seda) ==> expected: <true> but was: <false>  
        at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)     
        at 
org.apache.camel.management.BacklogTracerMessageHistoryMulticastSedaTest.lambda$testMulticastToSedaCapturesBothBranches$0(BacklogTracerMessageHistoryMulticastSedaTest.java:71)
      
{noformat}

marlking as major as it takes 13 seconds when flaky and it is part of the 
critical path



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to