You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2013/04/23 19:30:34 UTC

svn commit: r1471061 - /accumulo/branches/1.5/test/system/auto/simple/gc.py

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)