accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r1359426 - /accumulo/trunk/test/system/auto/simple/split.py
Date Mon, 09 Jul 2012 22:09:00 GMT
Author: vines
Date: Mon Jul  9 22:09:00 2012
New Revision: 1359426

URL: http://svn.apache.org/viewvc?rev=1359426&view=rev
Log:
ACCUMULO-679 Fixed the test to do a more coherent check and to produce results more consistently
that are accurate. WOrks on my machine, but may need more love
later


Modified:
    accumulo/trunk/test/system/auto/simple/split.py

Modified: accumulo/trunk/test/system/auto/simple/split.py
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/simple/split.py?rev=1359426&r1=1359425&r2=1359426&view=diff
==============================================================================
--- accumulo/trunk/test/system/auto/simple/split.py (original)
+++ accumulo/trunk/test/system/auto/simple/split.py Mon Jul  9 22:09:00 2012
@@ -38,7 +38,8 @@ class TabletShouldSplit(SunnyDayTest):
         })
     tableSettings = SunnyDayTest.tableSettings.copy()
     tableSettings['test_ingest'] = { 
-    	'table.split.threshold': '5K',
+    	'table.split.threshold': '256K',
+      'table.file.compress.blocksize': '1K',
         }
     def runTest(self):
 
@@ -65,10 +66,10 @@ class TabletShouldSplit(SunnyDayTest):
                     lines.append(line)
         # check that the row values aren't always whole rows, but something shorter
         for line in lines:
-            if len(line) != len(lines[0]):
-                break
+          if len(line) != 14:
+            break
         else:
-            self.fail("The split points are not being shortened")
+          self.fail("The split points are not being shortened")
 
         self.assert_(len(lines) > 10)
 



Mime
View raw message