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

Fix test named 'testDropNodeThenRestartCluster', the bug itself is fixed with

commit #1261.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1263 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e5a9eaa3
...@@ -395,11 +395,14 @@ class StorageTests(NEOFunctionalTest): ...@@ -395,11 +395,14 @@ class StorageTests(NEOFunctionalTest):
self.__expectNotKnown(started[0]) self.__expectNotKnown(started[0])
self.__expectRunning(started[1]) self.__expectRunning(started[1])
# restart all nodes # restart all nodes except the dropped, it must not be known
self.neo.stop() self.neo.stop()
self.neo.start() self.neo.start(except_storages=[started[0]])
self.__expectNotKnown(started[0])
self.__expectRunning(started[1])
# the stopped node must start in pending state # then restart it, it must be in pending state
started[0].start()
self.__expectPending(started[0]) self.__expectPending(started[0])
self.__expectRunning(started[1]) self.__expectRunning(started[1])
......
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