mirror of https://github.com/apache/cassandra
Fix NeverPurgeTest - wait for compactions to finish
Patch by marcuse; reviewed by Stefania for CASSANDRA-12841
This commit is contained in:
parent
cba5c7fa8b
commit
bd540bc51f
|
|
@ -80,7 +80,7 @@ public class NeverPurgeTest extends CQLTester
|
|||
execute("DELETE FROM %s WHERE a=3");
|
||||
cfs.forceBlockingFlush();
|
||||
cfs.enableAutoCompaction();
|
||||
while (cfs.getSSTables().size() > 1)
|
||||
while (cfs.getSSTables().size() > 1 || !cfs.getTracker().getCompacting().isEmpty())
|
||||
Thread.sleep(100);
|
||||
verifyContainsTombstones(cfs.getSSTables(), 3);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue