accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1471061 - /accumulo/branches/1.5/test/system/auto/simple/gc.py
Date Tue, 23 Apr 2013 17:30:34 GMT
Author: ecn
Date: Tue Apr 23 17:30:33 2013
New Revision: 1471061

URL: http://svn.apache.org/r1471061
Log:
ACCUMULO-1332 ensure the collector is run after the flush

Modified:
    accumulo/branches/1.5/test/system/auto/simple/gc.py

Modified: accumulo/branches/1.5/test/system/auto/simple/gc.py
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/test/system/auto/simple/gc.py?rev=1471061&r1=1471060&r2=1471061&view=diff
==============================================================================
--- accumulo/branches/1.5/test/system/auto/simple/gc.py (original)
+++ accumulo/branches/1.5/test/system/auto/simple/gc.py Tue Apr 23 17:30:33 2013
@@ -32,8 +32,8 @@ class GCTest(SunnyDayTest):
 
     settings = SunnyDayTest.settings.copy()
     settings.update({
-        'gc.cycle.start': 5,
-        'gc.cycle.delay': 15,
+        'gc.cycle.start': 1,
+        'gc.cycle.delay': 1,
         'tserver.memory.maps.max':'5K',
         'tserver.compaction.major.delay': 1,
         })
@@ -58,13 +58,12 @@ class GCTest(SunnyDayTest):
             count = update
 
     def runTest(self):
-        self.waitForStop(self.ingester, 60)
-        self.shell(self.masterHost(), 'flush -t test_ingest')
         self.stop_gc(self.masterHost())
+        self.waitForStop(self.ingester, 60)
+        self.shell(self.masterHost(), 'flush -t test_ingest -w')
 
         count = self.waitForFileCountToStabilize()
-        gc = self.runOn(self.masterHost(),
-                        [self.accumulo_sh(), 'gc'])
+        gc = self.runOn(self.masterHost(), [self.accumulo_sh(), 'gc'])
         self.sleep(10)
         collected = self.fileCount()
         self.assert_(count > collected)



Mime
View raw message