[Neo-report] r2456 gregory - /trunk/tools/replication
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 10 11:34:19 CET 2010
Author: gregory
Date: Wed Nov 10 11:34:19 2010
New Revision: 2456
Log:
Reduce time between two checks if replication was started.
Modified:
trunk/tools/replication
Modified: trunk/tools/replication
==============================================================================
--- trunk/tools/replication [iso-8859-1] (original)
+++ trunk/tools/replication [iso-8859-1] Wed Nov 10 11:34:19 2010
@@ -82,10 +82,11 @@ class ReplicationBenchmark(BenchmarkRunn
try:
p_time = self.time_it(self.populate, neo)
neo.expectOudatedCells(self._config.partitions)
- neo.getStorageProcessList()[-1].start()
- neo.expectRunning(neo.getStorageProcessList()[-1])
+ storage = neo.getStorageProcessList()[-1]
+ storage.start()
+ neo.expectRunning(storage, delay=0.1)
print "Source storage populated in %.3f secs" % p_time
- r_time = self.time_it(self.replicate, neo)
+ r_time = self.time_it(self.replicate, neo) + 0.1
except Exception:
content = ''.join(traceback.format_exc())
finally:
More information about the Neo-report
mailing list