accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1440085 - in /accumulo/trunk/test: src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java system/auto/simple/gc.py system/auto/simple/split.py system/auto/stress/msplit.py
Date Tue, 29 Jan 2013 19:54:27 GMT
Author: ecn
Date: Tue Jan 29 19:54:27 2013
New Revision: 1440085

URL: http://svn.apache.org/viewvc?rev=1440085&view=rev
Log:
ACCUMULO-1004 more fixes to the functional tests for 1.5

Modified:
    accumulo/trunk/test/src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java
    accumulo/trunk/test/system/auto/simple/gc.py
    accumulo/trunk/test/system/auto/simple/split.py
    accumulo/trunk/test/system/auto/stress/msplit.py

Modified: accumulo/trunk/test/src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java?rev=1440085&r1=1440084&r2=1440085&view=diff
==============================================================================
--- accumulo/trunk/test/src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java
(original)
+++ accumulo/trunk/test/src/main/java/org/apache/accumulo/test/GCLotsOfCandidatesTest.java
Tue Jan 29 19:54:27 2013
@@ -40,7 +40,7 @@ public class GCLotsOfCandidatesTest {
     conn.securityOperations().grantTablePermission(conn.whoami(), Constants.METADATA_TABLE_NAME,
TablePermission.WRITE);
     BatchWriter bw = conn.createBatchWriter(Constants.METADATA_TABLE_NAME, bwOpts.getBatchWriterConfig());
     
-    for (int i = 0; i < 10000; ++i) {
+    for (int i = 0; i < 100000; ++i) {
       final Text emptyText = new Text("");
       Text row = new Text(String.format("%s%s%020d%s", Constants.METADATA_DELETE_FLAG_PREFIX,
"/", i,
           "aaaaaaaaaabbbbbbbbbbccccccccccddddddddddeeeeeeeeeeffffffffffgggggggggghhhhhhhhhhiiiiiiiiiijjjjjjjjjj"));

Modified: accumulo/trunk/test/system/auto/simple/gc.py
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/simple/gc.py?rev=1440085&r1=1440084&r2=1440085&view=diff
==============================================================================
--- accumulo/trunk/test/system/auto/simple/gc.py (original)
+++ accumulo/trunk/test/system/auto/simple/gc.py Tue Jan 29 19:54:27 2013
@@ -102,7 +102,7 @@ class GCLotsOfCandidatesTest(TestUtilsMi
 
         log.info("Running GC with low memory allotment")
         gc = self.runOn('localhost',
-                        ['bash', '-c', 'ACCUMULO_GC_OPTS="-Xmx15m " ' + self.accumulo_sh()
+ ' gc'])
+                        ['bash', '-c', 'ACCUMULO_GC_OPTS="-Xmx10m " ' + self.accumulo_sh()
+ ' gc'])
         self.sleep(10)
         self.pkill('localhost', 'app=gc', signal.SIGHUP)
         self.wait(gc)

Modified: accumulo/trunk/test/system/auto/simple/split.py
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/simple/split.py?rev=1440085&r1=1440084&r2=1440085&view=diff
==============================================================================
--- accumulo/trunk/test/system/auto/simple/split.py (original)
+++ accumulo/trunk/test/system/auto/simple/split.py Tue Jan 29 19:54:27 2013
@@ -46,14 +46,14 @@ class TabletShouldSplit(SunnyDayTest):
         self.waitForStop(self.ingester, 60)
         self.waitForStop(self.verify(self.masterHost(), self.options.rows), 60)
 
-        # let the server split tablets and move them around
-        self.sleep(30)
-        
         # verify that we can read all the data: give it a minute to load
         # tablets
         self.waitForStop(self.verify(self.masterHost(), self.options.rows),
                          120)
 
+        # let the server split tablets and move them around
+        self.sleep(10)
+        
         # get the metadata
         out, err, code = self.shell(self.masterHost(), 'table !METADATA\nscan -np\n')
         self.assert_(code == 0)

Modified: accumulo/trunk/test/system/auto/stress/msplit.py
URL: http://svn.apache.org/viewvc/accumulo/trunk/test/system/auto/stress/msplit.py?rev=1440085&r1=1440084&r2=1440085&view=diff
==============================================================================
--- accumulo/trunk/test/system/auto/stress/msplit.py (original)
+++ accumulo/trunk/test/system/auto/stress/msplit.py Tue Jan 29 19:54:27 2013
@@ -31,10 +31,10 @@ class MetaSplitTest(TabletShouldSplit):
     
     tableSettings = TabletShouldSplit.tableSettings.copy()
     tableSettings['!METADATA'] = { 
-    	'table.split.threshold': 500,
+    	'table.split.threshold': 100,
         }
     tableSettings['test_ingest'] = { 
-    	'table.split.threshold': '10K',
+    	'table.split.threshold': '100K',
         }
 
     def runTest(self):



Mime
View raw message