diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultCompactSelection.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultCompactSelection.java index 6038bb2686f..4dea3154c10 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultCompactSelection.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultCompactSelection.java @@ -34,6 +34,13 @@ import org.junit.experimental.categories.Category; @Category(SmallTests.class) public class TestDefaultCompactSelection extends TestCompactionPolicy { + @Override + protected void config() { + super.config(); + // DON'T change this config since all test cases assume HStore.BLOCKING_STOREFILES_KEY is 10. + this.conf.setLong(HStore.BLOCKING_STOREFILES_KEY, 10); + } + @Test public void testCompactionRatio() throws IOException { TimeOffsetEnvironmentEdge edge = new TimeOffsetEnvironmentEdge();