[ https://issues.apache.org/jira/browse/CASSANDRA-15552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17035564#comment-17035564 ]
Brandon Williams edited comment on CASSANDRA-15552 at 2/12/20 6:16 PM: ----------------------------------------------------------------------- I changed the test to print what's compacting when it fails, and most of the time it fails with 4 sstables compacting, in either cfs or cfs2. This at least makes some sense since both CFs contain 4 sstables. However, sometimes it fails with only two: {code} [junit-timeout] Testcase: testExceptionAnticompaction(org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest): FAILED [junit-timeout] Nothing should be compacting: [BigTableReader(path='/home/debian/cassandra/build/test/cassandra/data:0/ks_1581462173137/tbl2-a21085804d2211ea92ecf9c4ecc0407d/na-3-big-Data.db'), BigTableReader(pa th='/home/debian/cassandra/build/test/cassandra/data:0/ks_1581462173137/tbl2-a21085804d2211ea92ecf9c4ecc0407d/na-4-big-Data.db')] {code} I also moved the getLiveSSTables assertions before the empty check, and those always pass. was (Author: brandon.williams): I changed the test to print what's compacting when it fails, and most of the time it fails with 4 sstables compacting, in either cfs or cfs2. This at least makes some sense since both CFs contain 4 sstables. However, sometimes it fails with only two: {code} [junit-timeout] Testcase: testExceptionAnticompaction(org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest): FAILED [junit-timeout] Nothing should be compacting: [BigTableReader(path='/home/debian/cassandra/build/test/cassandra/data:0/ks_1581462173137/tbl2-a21085804d2211ea92ecf9c4ecc0407d/na-3-big-Data.db'), BigTableReader(pa th='/home/debian/cassandra/build/test/cassandra/data:0/ks_1581462173137/tbl2-a21085804d2211ea92ecf9c4ecc0407d/na-4-big-Data.db')] {code} I also move the getLiveSSTables assertions before the empty check, and those always pass. > Fix flaky test > org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest.testExceptionAnticompaction > ---------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-15552 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15552 > Project: Cassandra > Issue Type: Bug > Components: Test/unit > Reporter: David Capwell > Priority: Normal > Fix For: 4.0-alpha > > > {code} > junit.framework.AssertionFailedError > at > org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest.testExceptionAnticompaction(PendingAntiCompactionBytemanTest.java:80) > 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) > at > org.jboss.byteman.contrib.bmunit.BMUnitRunner$9.evaluate(BMUnitRunner.java:364) > at > org.jboss.byteman.contrib.bmunit.BMUnitRunner$6.evaluate(BMUnitRunner.java:263) > at > org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:97) > {code} > Failure was on java 11 -- 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