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 <[email protected]> Authored: Tue May 7 22:24:53 2013 +0000 Committer: Eric C. Newton <[email protected]> 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); }
