Commit 1b993a50 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Admin/master nodes don't answer with ANSWER_CLUSTER_STATE to SET_CLUSTER_STATE,

so disable those assertions.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1018 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 955b1ed7
......@@ -69,8 +69,8 @@ class NeoCTL(object):
"""
packet = protocol.setClusterState(state)
response = self.__ask(packet)
assert response[0] == protocol.ANSWER_CLUSTER_STATE
assert state == response[1]
#assert response[0] == protocol.ANSWER_CLUSTER_STATE
#assert state == response[1]
def setNodeState(self, node, state, update_partition_table=False):
"""
......
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