mirror of https://github.com/apache/cassandra
fix infinite loop in LCS test
This commit is contained in:
parent
9d7fba9899
commit
19c3bd3b3b
|
|
@ -69,7 +69,7 @@ public class LeveledCompactionStrategyTest extends SchemaLoader
|
|||
|
||||
LeveledCompactionStrategy strat = (LeveledCompactionStrategy)store.getCompactionStrategy();
|
||||
|
||||
while (strat.getLevelSize(0) > 0)
|
||||
while (strat.getLevelSize(0) > 1)
|
||||
{
|
||||
store.forceMajorCompaction();
|
||||
Thread.sleep(200);
|
||||
|
|
|
|||
Loading…
Reference in New Issue