From de257d643607998a29499d13dd5e7326b00a6ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com> Date: Fri, 22 Jan 2010 10:47:06 +0000 Subject: [PATCH] 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 --- neo/tests/master/testRecoveryHandler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/neo/tests/master/testRecoveryHandler.py b/neo/tests/master/testRecoveryHandler.py index 88b1fb04..de429577 100644 --- a/neo/tests/master/testRecoveryHandler.py +++ b/neo/tests/master/testRecoveryHandler.py @@ -58,7 +58,10 @@ class MasterRecoveryTests(NeoTestBase): port=10021): """Do first step of identification to MN """ + address = (ip, port) uuid = self.getNewUUID() + self.app.nm.createFromNodeType(node_type, address=address, uuid=uuid, + state=NodeStates.RUNNING) return uuid # Tests -- 2.30.9