Commit 44b434d5 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix typo in test method name.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2220 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 50a09211
...@@ -491,7 +491,7 @@ class NEOCluster(object): ...@@ -491,7 +491,7 @@ class NEOCluster(object):
def expectClusterRecovering(self, timeout=0, delay=1): def expectClusterRecovering(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.RECOVERING) self.expectClusterState(ClusterStates.RECOVERING)
def expectClusterVeryfing(self, timeout=0, delay=1): def expectClusterVerifying(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.VERIFYING) self.expectClusterState(ClusterStates.VERIFYING)
def expectClusterRunning(self, timeout=0, delay=1): def expectClusterRunning(self, timeout=0, delay=1):
......
...@@ -42,7 +42,7 @@ class ClusterTests(NEOFunctionalTest): ...@@ -42,7 +42,7 @@ class ClusterTests(NEOFunctionalTest):
self.neo.expectClusterRunning() self.neo.expectClusterRunning()
self.neo.expectOudatedCells(number=0) self.neo.expectOudatedCells(number=0)
self.neo.killStorage() self.neo.killStorage()
self.neo.expectClusterVeryfing() self.neo.expectClusterVerifying()
def testClusterBreaksWithTwoNodes(self): def testClusterBreaksWithTwoNodes(self):
self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000, self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000,
...@@ -54,7 +54,7 @@ class ClusterTests(NEOFunctionalTest): ...@@ -54,7 +54,7 @@ class ClusterTests(NEOFunctionalTest):
self.neo.expectClusterRunning() self.neo.expectClusterRunning()
self.neo.expectOudatedCells(number=0) self.neo.expectOudatedCells(number=0)
self.neo.killStorage() self.neo.killStorage()
self.neo.expectClusterVeryfing() self.neo.expectClusterVerifying()
def testClusterDoesntBreakWithTwoNodesOneReplica(self): def testClusterDoesntBreakWithTwoNodesOneReplica(self):
self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000, self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000,
......
...@@ -234,7 +234,7 @@ class StorageTests(NEOFunctionalTest): ...@@ -234,7 +234,7 @@ class StorageTests(NEOFunctionalTest):
# stop it, the cluster must switch to verification # stop it, the cluster must switch to verification
started[0].stop() started[0].stop()
self.__expectUnavailable(started[0]) self.__expectUnavailable(started[0])
self.neo.expectClusterVeryfing() self.neo.expectClusterVerifying()
# client must have been disconnected # client must have been disconnected
self.assertEqual(len(self.neo.getClientlist()), 0) self.assertEqual(len(self.neo.getClientlist()), 0)
conn.close() conn.close()
...@@ -279,7 +279,7 @@ class StorageTests(NEOFunctionalTest): ...@@ -279,7 +279,7 @@ class StorageTests(NEOFunctionalTest):
self.__expectUnavailable(started[1]) self.__expectUnavailable(started[1])
self.__expectUnavailable(started[2]) self.__expectUnavailable(started[2])
self.neo.expectOudatedCells(number=20) self.neo.expectOudatedCells(number=20)
self.neo.expectClusterVeryfing() self.neo.expectClusterVerifying()
def testConflictingStorageRejected(self): def testConflictingStorageRejected(self):
""" Check that a storage coming after the recovery process with the same """ Check that a storage coming after the recovery process with the same
...@@ -511,7 +511,7 @@ class StorageTests(NEOFunctionalTest): ...@@ -511,7 +511,7 @@ class StorageTests(NEOFunctionalTest):
self.__expectUnavailable(started[0]) self.__expectUnavailable(started[0])
self.__expectUnavailable(started[1]) self.__expectUnavailable(started[1])
self.neo.expectOudatedCells(number=10) self.neo.expectOudatedCells(number=10)
self.neo.expectClusterVeryfing() self.neo.expectClusterVerifying()
# XXX: need to sync with storages first # XXX: need to sync with storages first
self.neo.stop() self.neo.stop()
......
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