Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D31D10FFB for ; Wed, 31 Jul 2013 15:13:54 +0000 (UTC) Received: (qmail 46047 invoked by uid 500); 31 Jul 2013 15:13:46 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 45807 invoked by uid 500); 31 Jul 2013 15:13:45 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 45216 invoked by uid 99); 31 Jul 2013 15:13:39 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jul 2013 15:13:39 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 001E9831672; Wed, 31 Jul 2013 15:13:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kturner@apache.org To: commits@accumulo.apache.org Date: Wed, 31 Jul 2013 15:13:41 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/50] [abbrv] git commit: ACCUMULO-1227 test was failing ACCUMULO-1227 test was failing git-svn-id: https://svn.apache.org/repos/asf/accumulo/branches/1.4@1480121 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/0e463d47 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/0e463d47 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/0e463d47 Branch: refs/heads/master Commit: 0e463d478b2ce06516153d0bceac5b1d5a2ca6a9 Parents: 82511dc Author: Eric C. Newton Authored: Tue May 7 22:24:53 2013 +0000 Committer: Eric C. Newton Committed: Tue May 7 22:24:53 2013 +0000 ---------------------------------------------------------------------- .../org/apache/accumulo/server/test/functional/LargeRowTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/0e463d47/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java ---------------------------------------------------------------------- diff --git a/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java b/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java index d387aa4..bc02929 100644 --- a/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java +++ b/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java @@ -42,8 +42,8 @@ public class LargeRowTest extends FunctionalTest { private static final String PRE_SPLIT_TABLE_NAME = "lrps"; private static final int NUM_ROWS = 100; private static final int ROW_SIZE = 1 << 17; - private static final int SPLIT_THRESH = ROW_SIZE * NUM_ROWS / 5; private static final int NUM_PRE_SPLITS = 9; + private static final int SPLIT_THRESH = ROW_SIZE * NUM_ROWS / NUM_PRE_SPLITS; @Override public void cleanup() {} @@ -95,7 +95,7 @@ public class LargeRowTest extends FunctionalTest { UtilWaitThread.sleep(10000); - checkSplits(REG_TABLE_NAME, 1, 9); + checkSplits(REG_TABLE_NAME, NUM_PRE_SPLITS / 2, NUM_PRE_SPLITS); verify(REG_TABLE_NAME); }