[ https://issues.apache.org/jira/browse/CASSANDRA-17584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Miklosovic updated CASSANDRA-17584: ------------------------------------------ Test and Documentation Plan: unit tests Status: Patch Available (was: In Progress) PR here: https://github.com/apache/cassandra/pull/1662 Circle 500x: https://app.circleci.com/pipelines/github/instaclustr/cassandra/1025/workflows/1b958082-c873-404e-89f2-3b454547f679/jobs/4307 Jenkins: https://ci-cassandra.apache.org/view/patches/job/Cassandra-devbranch/1751/ The problem is, I think, that the map the gossiper returns consists of values (EndpointState) which are updated on the fly during the test. There is LoadBroadcaster which is updating the state every so often so these values change over time during the test. What I did is that I am going into the test with copy of that map / EndpointState so it is not updated and values are all same for the sake of testing it. > Fix flaky test - > org.apache.cassandra.db.virtual.GossipInfoTableTest.testSelectAllWithStateTransitions > ------------------------------------------------------------------------------------------------------ > > Key: CASSANDRA-17584 > URL: https://issues.apache.org/jira/browse/CASSANDRA-17584 > Project: Cassandra > Issue Type: Bug > Components: Feature/Virtual Tables > Reporter: Brandon Williams > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 4.1-beta, 4.x > > > h3. Error Message > ['LOAD' is expected to be null] expected:<null> but was:<Value(122848.0,28)> > h3. Stacktrace > junit.framework.AssertionFailedError: ['LOAD' is expected to be null] > expected:<null> but was:<Value(122848.0,28)> at > org.apache.cassandra.db.virtual.GossipInfoTableTest.assertValue(GossipInfoTableTest.java:174) > at > org.apache.cassandra.db.virtual.GossipInfoTableTest.testSelectAllWithStateTransitions(GossipInfoTableTest.java:96) -- This message was sent by Atlassian Jira (v8.20.7#820007) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org