Signed-off-by: Angus Salkeld <[email protected]>
---
cts/corosync.py | 6 +++---
cts/corotests.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/cts/corosync.py b/cts/corosync.py
index 7ba5bb4..c75989f 100644
--- a/cts/corosync.py
+++ b/cts/corosync.py
@@ -206,7 +206,7 @@ class corosync_flatiron(ClusterManager):
self.node_to_ip[node] = socket.gethostbyname (node)
return self.node_to_ip[node]
- def StartaCM(self, node):
+ def StartaCM(self, node, verbose=False):
if not self.ShouldBeStatus.has_key(node):
self.ShouldBeStatus[node] = "down"
@@ -239,7 +239,7 @@ class corosync_flatiron(ClusterManager):
return ret
- def StopaCM(self, node):
+ def StopaCM(self, node, verbose=False):
if self.ShouldBeStatus[node] != "up":
return 1
@@ -417,7 +417,7 @@ class TestAgent(object):
self.env.debug('test agent: starting %s on node %s' % (self.binary,
self.node))
self.sock = socket.socket (socket.AF_INET, socket.SOCK_STREAM)
ip = socket.gethostbyname(self.node)
- self.rsh(self.node, self.binary, blocking=0)
+ self.rsh(self.node, self.binary, synchronous=False)
is_connected = False
retries = 0
while not is_connected:
diff --git a/cts/corotests.py b/cts/corotests.py
index 6b331ce..f456938 100644
--- a/cts/corotests.py
+++ b/cts/corotests.py
@@ -1464,7 +1464,7 @@ confirm reboot action
cmd = 'corosync-objctl -w resources.system.memory_used.max=' +
str(mem_new_max)
self.CM.rsh(node, cmd)
- self.CM.rsh(node, 'memhog -r10000 200m', blocking=0)
+ self.CM.rsh(node, 'memhog -r10000 200m', synchronous=0)
self.CM.log("wait for it to reboot")
time.sleep(60 * 3)
--
1.7.3.1
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais