Author: ecn Date: Tue May 7 22:15:50 2013 New Revision: 1480118 URL: http://svn.apache.org/r1480118 Log: ACCUMULO-1227 test was failing
Modified: accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/functional/LargeRowTest.java Modified: accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/functional/LargeRowTest.java URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/functional/LargeRowTest.java?rev=1480118&r1=1480117&r2=1480118&view=diff ============================================================================== --- accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/functional/LargeRowTest.java (original) +++ accumulo/branches/1.5/test/src/main/java/org/apache/accumulo/test/functional/LargeRowTest.java Tue May 7 22:15:50 2013 @@ -44,8 +44,8 @@ public class LargeRowTest extends Functi 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 / 4; 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() {} @@ -97,7 +97,7 @@ public class LargeRowTest extends Functi UtilWaitThread.sleep(12000); Logger.getLogger(LargeRowTest.class).warn("checking splits"); - checkSplits(REG_TABLE_NAME, 9, 16); + checkSplits(REG_TABLE_NAME, NUM_PRE_SPLITS/2, NUM_PRE_SPLITS); verify(REG_TABLE_NAME); }