[ https://issues.apache.org/jira/browse/CASSANDRA-16970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419997#comment-17419997 ]
Brandon Williams commented on CASSANDRA-16970: ---------------------------------------------- bq. Actually, I think this test is just a bit fragile with regard to replicas. This is correct, this test at inception will fail in a loop. Sometimes only two of the three replicas will report the tombstone error. It seems odd that earlier it [accepts a range of possible replicas|https://github.com/apache/cassandra/blob/trunk/test/distributed/org/apache/cassandra/distributed/test/ClientTombstoneWarningTest.java#L204] but then here it expects all three. [~dcapwell] can you shed some light? > Fix > org.apache.cassandra.distributed.test.ClientTombstoneWarningTest.failThresholdSinglePartition > ------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-16970 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16970 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest/java > Reporter: Ekaterina Dimitrova > Assignee: Brandon Williams > Priority: Normal > Fix For: 4.x > > > org.apache.cassandra.distributed.test.ClientTombstoneWarningTest.failThresholdSinglePartition > is > [failing|https://jenkins-cm4.apache.org/job/Cassandra-devbranch/1121/testReport/org.apache.cassandra.distributed.test/ClientTombstoneWarningTest/failThresholdSinglePartition_2/] > {code:java} > Error Message > expected:<....0.1=1, /127.0.0.2=1[, /127.0.0.3=1]}> but was:<....0.1=1, > /127.0.0.2=1[]}> > Stacktrace > junit.framework.AssertionFailedError: expected:<....0.1=1, /127.0.0.2=1[, > /127.0.0.3=1]}> but was:<....0.1=1, /127.0.0.2=1[]}> > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at > org.apache.cassandra.distributed.test.ClientTombstoneWarningTest.failThreshold(ClientTombstoneWarningTest.java:227) > at > org.apache.cassandra.distributed.test.ClientTombstoneWarningTest.failThresholdSinglePartition(ClientTombstoneWarningTest.java:180) > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43){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