Commit de257d64 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fit better with the implementation, when a node is identified to the master,...

Fit better with the implementation, when a node is identified to the master, it got an entry in the node manager.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1476 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 809fce71
...@@ -58,7 +58,10 @@ class MasterRecoveryTests(NeoTestBase): ...@@ -58,7 +58,10 @@ class MasterRecoveryTests(NeoTestBase):
port=10021): port=10021):
"""Do first step of identification to MN """Do first step of identification to MN
""" """
address = (ip, port)
uuid = self.getNewUUID() uuid = self.getNewUUID()
self.app.nm.createFromNodeType(node_type, address=address, uuid=uuid,
state=NodeStates.RUNNING)
return uuid return uuid
# Tests # Tests
......
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