Commit 051b8e40 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Node are initially in UNKNOWN state.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1432 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9bfd213a
......@@ -326,7 +326,8 @@ class MasterStorageHandlerTests(NeoTestBase):
# give an uuid, must raise as no other storage node available
conn = self.getFakeConnection(uuid, self.storage_address)
lptid = self.app.pt.getID()
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), NodeStates.RUNNING)
self.assertEquals(self.app.nm.getByUUID(uuid).getState(),
NodeStates.UNKNOWN)
self.assertRaises(OperationFailure, method, conn)
self.assertEquals(self.app.nm.getByUUID(uuid).getState(), state)
self.failUnless(lptid < self.app.pt.getID())
......
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