Skip to content

Commit

Permalink
fix infinite loop in LCS test
Browse files Browse the repository at this point in the history
  • Loading branch information
yukim committed Oct 9, 2012
1 parent 9d7fba9 commit 19c3bd3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void testValidationMultipleSSTablePerLevel() throws Exception

LeveledCompactionStrategy strat = (LeveledCompactionStrategy)store.getCompactionStrategy();

while (strat.getLevelSize(0) > 0)
while (strat.getLevelSize(0) > 1)
{
store.forceMajorCompaction();
Thread.sleep(200);
Expand Down

0 comments on commit 19c3bd3

Please sign in to comment.