HBASE-19964 TestWriteHeavyIncrementObserver fails

This commit is contained in:
zhangduo 2018-02-09 17:22:20 +08:00
parent 285653de3c
commit 4d751383fd
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class TestWriteHeavyIncrementObserver extends WriteHeavyIncrementObserver
Result r = scanner.next(); Result r = scanner.next();
assertTrue(r.rawCells().length > 2); assertTrue(r.rawCells().length > 2);
} }
UTIL.getAdmin().flush(NAME); UTIL.flush(NAME);
UTIL.getAdmin().majorCompact(NAME); UTIL.getAdmin().majorCompact(NAME);
HStore store = UTIL.getHBaseCluster().findRegionsForTable(NAME).get(0).getStore(FAMILY); HStore store = UTIL.getHBaseCluster().findRegionsForTable(NAME).get(0).getStore(FAMILY);
Waiter.waitFor(UTIL.getConfiguration(), 30000, new Waiter.ExplainingPredicate<Exception>() { Waiter.waitFor(UTIL.getConfiguration(), 30000, new Waiter.ExplainingPredicate<Exception>() {