accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1480121 - /accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java
Date Tue, 07 May 2013 22:24:53 GMT
Author: ecn
Date: Tue May  7 22:24:53 2013
New Revision: 1480121

URL: http://svn.apache.org/r1480121
Log:
ACCUMULO-1227 test was failing

Modified:
    accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java

Modified: accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java?rev=1480121&r1=1480120&r2=1480121&view=diff
==============================================================================
--- accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java
(original)
+++ accumulo/branches/1.4/src/server/src/main/java/org/apache/accumulo/server/test/functional/LargeRowTest.java
Tue May  7 22:24:53 2013
@@ -42,8 +42,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 / 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 Functi
     
     UtilWaitThread.sleep(10000);
     
-    checkSplits(REG_TABLE_NAME, 1, 9);
+    checkSplits(REG_TABLE_NAME, NUM_PRE_SPLITS / 2, NUM_PRE_SPLITS);
     
     verify(REG_TABLE_NAME);
   }



Mime
View raw message