Commit bcbcc2f5 authored by Vincent Pelletier's avatar Vincent Pelletier

Transmit parameters to expectClusterState.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2379 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 51149f4f
......@@ -500,13 +500,13 @@ class NEOCluster(object):
self.expectCondition(callback, timeout, delay)
def expectClusterRecovering(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.RECOVERING)
self.expectClusterState(ClusterStates.RECOVERING, timeout, delay)
def expectClusterVerifying(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.VERIFYING)
self.expectClusterState(ClusterStates.VERIFYING, timeout, delay)
def expectClusterRunning(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.RUNNING)
self.expectClusterState(ClusterStates.RUNNING, timeout, delay)
def expectAlive(self, process, timeout=0, delay=1):
def callback(last_try):
......
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