diff --git a/hbase-examples/src/test/java/org/apache/hadoop/hbase/coprocessor/example/TestWriteHeavyIncrementObserver.java b/hbase-examples/src/test/java/org/apache/hadoop/hbase/coprocessor/example/TestWriteHeavyIncrementObserver.java index e84cd722c69..7ef1558d610 100644 --- a/hbase-examples/src/test/java/org/apache/hadoop/hbase/coprocessor/example/TestWriteHeavyIncrementObserver.java +++ b/hbase-examples/src/test/java/org/apache/hadoop/hbase/coprocessor/example/TestWriteHeavyIncrementObserver.java @@ -63,7 +63,7 @@ public class TestWriteHeavyIncrementObserver extends WriteHeavyIncrementObserver Result r = scanner.next(); assertTrue(r.rawCells().length > 2); } - UTIL.getAdmin().flush(NAME); + UTIL.flush(NAME); UTIL.getAdmin().majorCompact(NAME); HStore store = UTIL.getHBaseCluster().findRegionsForTable(NAME).get(0).getStore(FAMILY); Waiter.waitFor(UTIL.getConfiguration(), 30000, new Waiter.ExplainingPredicate() {