Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4FB86160C15 for ; Wed, 3 Jan 2018 12:15:41 +0100 (CET) Received: (qmail 41550 invoked by uid 500); 3 Jan 2018 11:15:40 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 41541 invoked by uid 99); 3 Jan 2018 11:15:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jan 2018 11:15:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 585A2DFB6E; Wed, 3 Jan 2018 11:15:40 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chia7712@apache.org To: commits@hbase.apache.org Message-Id: <2104839727ba4951a0f29d3d694bd8a8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hbase git commit: HBASE-19666 TestDefaultCompactSelection test failed Date: Wed, 3 Jan 2018 11:15:40 +0000 (UTC) archived-at: Wed, 03 Jan 2018 11:15:42 -0000 Repository: hbase Updated Branches: refs/heads/master 777ad8caa -> d84c4ec29 HBASE-19666 TestDefaultCompactSelection test failed Signed-off-by: Chia-Ping Tsai 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/master Commit: d84c4ec29f1552581fdafbd08defd5b56e983c23 Parents: 777ad8c Author: Balazs Meszaros Authored: Wed Jan 3 18:49:11 2018 +0800 Committer: Chia-Ping Tsai 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();