You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ch...@apache.org on 2018/01/03 11:14:58 UTC

hbase git commit: HBASE-19666 TestDefaultCompactSelection test failed

Repository: hbase
Updated Branches:
  refs/heads/branch-2 9f610e593 -> 37f846dc0


HBASE-19666 TestDefaultCompactSelection test failed

Signed-off-by: Chia-Ping Tsai <ch...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/37f846dc
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/37f846dc
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/37f846dc

Branch: refs/heads/branch-2
Commit: 37f846dc0c622c114956947dbe659e5bc408b67f
Parents: 9f610e5
Author: Balazs Meszaros <ba...@cloudera.com>
Authored: Wed Jan 3 18:49:11 2018 +0800
Committer: Chia-Ping Tsai <ch...@gmail.com>
Committed: Wed Jan 3 19:12:17 2018 +0800

----------------------------------------------------------------------
 .../hbase/regionserver/TestDefaultCompactSelection.java       | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/37f846dc/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestDefaultCompactSelection.java
----------------------------------------------------------------------
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 6038bb2..4dea315 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();