hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject [03/35] hbase git commit: HBASE-19666 TestDefaultCompactSelection test failed
Date Thu, 04 Jan 2018 01:23:37 GMT
HBASE-19666 TestDefaultCompactSelection test failed

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


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

Branch: refs/heads/HBASE-19397
Commit: d84c4ec29f1552581fdafbd08defd5b56e983c23
Parents: 777ad8c
Author: Balazs Meszaros <balazs.meszaros@cloudera.com>
Authored: Wed Jan 3 18:49:11 2018 +0800
Committer: Chia-Ping Tsai <chia7712@gmail.com>
Committed: Wed Jan 3 19:08:50 2018 +0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/d84c4ec2/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();


Mime
View raw message