[ https://issues.apache.org/jira/browse/CASSANDRA-15558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Tunnicliffe updated CASSANDRA-15558: ---------------------------------------- Test and Documentation Plan: Unit test fix only Status: Patch Available (was: In Progress) When creating the read commands _after_ setting {{gcgs}}, the {{nowInSeconds}} wasn't being bumped far enough. It was only adding 1 to the value used for the inserts. This could lead to a race where occasionally a tombstone was not yet purgable. Fixed by bumping it a full 60s as in the other similar tests. No failures seen running this 200 times locally. ||branch||CI|| |[15558-trunk|https://github.com/beobal/cassandra/tree/15558-trunk]|[circle|https://circleci.com/gh/beobal/workflows/cassandra/tree/15558-trunk]| > Fix flaky test org.apache.cassandra.db.ReadCommandTest > purgeGCableTombstonesBeforeCalculatingDigest > --------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-15558 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15558 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: David Capwell > Assignee: Sam Tunnicliffe > Priority: Normal > Fix For: 4.0-alpha > > > https://app.circleci.com/jobs/github/dcapwell/cassandra/502/tests > {code} > junit.framework.AssertionFailedError > at > org.apache.cassandra.db.ReadCommandTest.lambda$purgeGCableTombstonesBeforeCalculatingDigest$5(ReadCommandTest.java:812) > at java.util.Iterator.forEachRemaining(Iterator.java:116) > at > org.apache.cassandra.db.ReadCommandTest.purgeGCableTombstonesBeforeCalculatingDigest(ReadCommandTest.java:805) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org