HBASE-19666 TestDefaultCompactSelection test failed

Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Balazs Meszaros 2018-01-03 18:49:11 +08:00 committed by Chia-Ping Tsai
parent 777ad8caa2
commit d84c4ec29f
1 changed files with 7 additions and 0 deletions

View File

@ -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();