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

             Summary: Fix flaky test ThrottlingGroupingTest
                 Key: CAMEL-26489
                 URL: https://issues.apache.org/jira/browse/CAMEL-26489
             Project: Camel
          Issue Type: Test
          Components: camel-core
    Affects Versions: 4.24.0
            Reporter: Aurélien Pupier


[failed 2 times and was flaky 25 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=org.apache.camel.processor.throttle.requests.ThrottlingGroupingTest]

differevt value for the actual count but simlar stacktraces:

{noformat}
java.lang.AssertionError: mock://gresult Received message count. Expected: <3> 
but was: <6>     
        at 
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2079)    
        at 
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2014)
    
        at 
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:502)
      
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:480)
        
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:470)
        
        at 
org.apache.camel.processor.throttle.requests.ThrottlingGroupingTest.testSendLotsOfMessagesButOnly3GetThroughWithin2Seconds(ThrottlingGroupingTest.java:94)
   
{noformat}

{noformat}
java.lang.AssertionError: mock://gresult Received message count. Expected: <3> 
but was: <5>     
        at 
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2079)    
        at 
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2014)
    
        at 
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:502)
      
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:480)
        
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:470)
        
        at 
org.apache.camel.processor.throttle.requests.ThrottlingGroupingTest.testSendLotsOfMessagesButOnly3GetThroughWithin2Seconds(ThrottlingGroupingTest.java:94)
   
{noformat}

{noformat}
java.lang.AssertionError: mock://gresult Received message count. Expected: <3> 
but was: <4>     
        at 
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2079)    
        at 
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2014)
    
        at 
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:502)
      
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:480)
        
        at 
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:470)
        
        at 
org.apache.camel.processor.throttle.requests.ThrottlingGroupingTest.testSendLotsOfMessagesButOnly3GetThroughWithin2Seconds(ThrottlingGroupingTest.java:94)
   
{noformat}




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

Reply via email to