Commit e86c7faa authored by Julien Muchembled's avatar Julien Muchembled

tests: drop unused 'delay_startup' paramater of functional.NEOCluster.start

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2833 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a422ae33
......@@ -336,21 +336,11 @@ class NEOCluster(object):
raise AssertionError('Timeout when starting cluster')
self.port_allocator.reset()
def start(self, except_storages=(), delay_startup=0):
def start(self, except_storages=()):
""" Do a complete start of a cluster """
if delay_startup is None:
storage_list = self.getStorageProcessList()
self.run(except_storages=storage_list)
storage_list = set(storage_list).difference(except_storages)
else:
storage_list = ()
self.run(except_storages=except_storages)
if delay_startup:
time.sleep(delay_startup)
self.run(except_storages=except_storages)
neoctl = self.neoctl
neoctl.startCluster()
for storage in storage_list:
storage.start()
target_count = len(self.db_list) - len(except_storages)
storage_node_list = []
def test():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment