Commit 7096624a authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix functional tests around 'expectOutdatedCells'

Ensure all storage nodes started are well known by the master before check that there is no more outdated cells to avoid random false success with no outdated cells but with a missing storage node.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1599 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 39843379
...@@ -130,7 +130,9 @@ class StorageTests(NEOFunctionalTest): ...@@ -130,7 +130,9 @@ class StorageTests(NEOFunctionalTest):
must have the same content """ must have the same content """
# populate the cluster then check the databases # populate the cluster then check the databases
self.__setup(storage_number=2, replicas=1) (started, _) = self.__setup(storage_number=2, replicas=1)
self.__expectRunning(started[0])
self.__expectRunning(started[1])
self.neo.expectOudatedCells(number=0) self.neo.expectOudatedCells(number=0)
self.__populate() self.__populate()
self.__checkReplicationDone() self.__checkReplicationDone()
...@@ -188,6 +190,8 @@ class StorageTests(NEOFunctionalTest): ...@@ -188,6 +190,8 @@ class StorageTests(NEOFunctionalTest):
# populate the two storages # populate the two storages
(started, _) = self.__setup(storage_number=2, replicas=1) (started, _) = self.__setup(storage_number=2, replicas=1)
self.__expectRunning(started[0])
self.__expectRunning(started[1])
self.neo.expectOudatedCells(number=0) self.neo.expectOudatedCells(number=0)
self.__populate() self.__populate()
self.__checkReplicationDone() self.__checkReplicationDone()
......
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