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

             Summary: Fix flaky test SftpSimpleConsumeNoStartingDirIT
                 Key: CAMEL-27278
                 URL: https://issues.apache.org/jira/browse/CAMEL-27278
             Project: Camel
          Issue Type: Test
            Reporter: Aurélien Pupier


since the build parallelization with -T1C, the test is quite flaky.
1 flakiness in 80 days before.
[54 flakiness and 2 failures in 1 
month|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.tags=main&search.timeZoneId=Europe%2FParis&tests.container=*SftpSimpleConsumeNoStartingDirIT]

{noformat}
java.lang.AssertionError: mock://result Received message count. Expected: <1> 
but was: <0>      
        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.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:269)
        
        at 
org.apache.camel.component.file.remote.mina.sftp.SftpSimpleConsumeNoStartingDirIT.testSftpSimpleConsume(SftpSimpleConsumeNoStartingDirIT.java:45)
{noformat}



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

Reply via email to