You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2020/05/28 15:06:59 UTC

[GitHub] [cassandra] blerer commented on a change in pull request #602: CASSANDRA-15825 Flaky test fix. Avoid compactions under our feet.

blerer commented on a change in pull request #602:
URL: https://github.com/apache/cassandra/pull/602#discussion_r431866018



##########
File path: test/unit/org/apache/cassandra/db/streaming/CassandraStreamManagerTest.java
##########
@@ -161,6 +161,9 @@ private static void mutateRepaired(SSTableReader sstable, long repairedAt, UUID
     @Test
     public void incrementalSSTableSelection() throws Exception
     {
+        // CASSANDRA-15825 Make sure a compaction won't be triggered under our feet removing the sstables mid-flight
+        cfs.setMinimumCompactionThreshold(10);

Review comment:
       I would have used `cfs.disableAutoCompaction();`




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org