HBASE-20542 ADDENDUM: test fix

This commit is contained in:
eshcar 2018-07-03 13:51:48 +03:00
parent 8b1e6a81ff
commit 1eef5c7a99
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ import org.apache.hadoop.hbase.client.Get;
import org.apache.hadoop.hbase.client.Increment;
import org.apache.hadoop.hbase.client.Result;
import org.apache.hadoop.hbase.client.Table;
import org.apache.hadoop.hbase.regionserver.CompactingMemStore;
import org.apache.hadoop.hbase.util.Bytes;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@ -58,6 +59,8 @@ public class WriteHeavyIncrementObserverTestBase {
public static void setUp() throws Exception {
UTIL.getConfiguration().setLong(HConstants.HREGION_MEMSTORE_FLUSH_SIZE, 64 * 1024L);
UTIL.getConfiguration().setLong("hbase.hregion.memstore.flush.size.limit", 1024L);
UTIL.getConfiguration().setDouble(CompactingMemStore.IN_MEMORY_FLUSH_THRESHOLD_FACTOR_KEY,
0.014);
UTIL.startMiniCluster(3);
}