commit e424d4254efd8372cbf28b8c134fe2fec423639a Author: stack Date: Tue Dec 2 11:48:46 2014 -0800 HBASE-12490 Replace uses of setAutoFlush(boolean, boolean) (Solomon Duskis) -- ADDENDUM to fix failing TestAsyncProcess#testHTableFailedPutAndNewPut diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java index a56a254..e4c4162 100644 --- a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java +++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java @@ -710,7 +710,9 @@ public class TestAsyncProcess { HTable ht = new HTable(); MyAsyncProcess ap = new MyAsyncProcess(createHConnection(), conf, true); ht.ap = ap; - ht.setAutoFlushTo(false); + // This is deprecated method. Using it here only because the new HTable above is a bit of a + // perversion skirting a bunch of setup. Fix the HTable test-only constructor to do more. + ht.setAutoFlush(false, true); ht.setWriteBufferSize(0); Put p = createPut(1, false);