fix infinite loop in LCS test

This commit is contained in:
Yuki Morishita 2012-10-09 10:54:35 -05:00
parent 9d7fba9899
commit 19c3bd3b3b
1 changed files with 1 additions and 1 deletions

View File

@ -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);