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

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


[2 failed and 81 flaky in last 2 
months|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.keyvalue.cassandra.CassandraKeyValueRepositoryIT]

{noformat}
org.opentest4j.AssertionFailedError: expected: <value2> but was: <value1>       
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1199)  
        at 
org.apache.camel.processor.keyvalue.cassandra.CassandraKeyValueRepositoryIT.testReplaceWithTtl(CassandraKeyValueRepositoryIT.java:178)
       
{noformat}

{noformat}
org.opentest4j.AssertionFailedError: expected: <null> but was: <value1> 
        at org.junit.jupiter.api.Assertions.assertNull(Assertions.java:308)     
        at 
org.apache.camel.processor.keyvalue.cassandra.CassandraKeyValueRepositoryIT.testDeleteWithExpectedValueMatching(CassandraKeyValueRepositoryIT.java:198)
{noformat}

{noformat}
org.opentest4j.AssertionFailedError: expected: <value2> but was: <value1>       
        at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1199)  
        at 
org.apache.camel.processor.keyvalue.cassandra.CassandraKeyValueRepositoryIT.testReplaceMatchingOldValue(CassandraKeyValueRepositoryIT.java:156)
{noformat}

and a bunch of others. They are all using the same keys between tests and some 
tests are clearing the whole key/store, these one need to be isolated



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

Reply via email to