[Neo-report] r2220 vincent - /trunk/neo/tests/functional/
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Aug 24 14:46:51 CEST 2010
Author: vincent
Date: Tue Aug 24 14:46:51 2010
New Revision: 2220
Log:
Fix typo in test method name.
Modified:
trunk/neo/tests/functional/__init__.py
trunk/neo/tests/functional/testCluster.py
trunk/neo/tests/functional/testStorage.py
Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Tue Aug 24 14:46:51 2010
@@ -491,7 +491,7 @@ class NEOCluster(object):
def expectClusterRecovering(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.RECOVERING)
- def expectClusterVeryfing(self, timeout=0, delay=1):
+ def expectClusterVerifying(self, timeout=0, delay=1):
self.expectClusterState(ClusterStates.VERIFYING)
def expectClusterRunning(self, timeout=0, delay=1):
Modified: trunk/neo/tests/functional/testCluster.py
==============================================================================
--- trunk/neo/tests/functional/testCluster.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/testCluster.py [iso-8859-1] Tue Aug 24 14:46:51 2010
@@ -42,7 +42,7 @@ class ClusterTests(NEOFunctionalTest):
self.neo.expectClusterRunning()
self.neo.expectOudatedCells(number=0)
self.neo.killStorage()
- self.neo.expectClusterVeryfing()
+ self.neo.expectClusterVerifying()
def testClusterBreaksWithTwoNodes(self):
self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000,
@@ -54,7 +54,7 @@ class ClusterTests(NEOFunctionalTest):
self.neo.expectClusterRunning()
self.neo.expectOudatedCells(number=0)
self.neo.killStorage()
- self.neo.expectClusterVeryfing()
+ self.neo.expectClusterVerifying()
def testClusterDoesntBreakWithTwoNodesOneReplica(self):
self.neo = NEOCluster(['test_neo1', 'test_neo2'], port_base=20000,
Modified: trunk/neo/tests/functional/testStorage.py
==============================================================================
--- trunk/neo/tests/functional/testStorage.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/testStorage.py [iso-8859-1] Tue Aug 24 14:46:51 2010
@@ -234,7 +234,7 @@ class StorageTests(NEOFunctionalTest):
# stop it, the cluster must switch to verification
started[0].stop()
self.__expectUnavailable(started[0])
- self.neo.expectClusterVeryfing()
+ self.neo.expectClusterVerifying()
# client must have been disconnected
self.assertEqual(len(self.neo.getClientlist()), 0)
conn.close()
@@ -279,7 +279,7 @@ class StorageTests(NEOFunctionalTest):
self.__expectUnavailable(started[1])
self.__expectUnavailable(started[2])
self.neo.expectOudatedCells(number=20)
- self.neo.expectClusterVeryfing()
+ self.neo.expectClusterVerifying()
def testConflictingStorageRejected(self):
""" Check that a storage coming after the recovery process with the same
@@ -511,7 +511,7 @@ class StorageTests(NEOFunctionalTest):
self.__expectUnavailable(started[0])
self.__expectUnavailable(started[1])
self.neo.expectOudatedCells(number=10)
- self.neo.expectClusterVeryfing()
+ self.neo.expectClusterVerifying()
# XXX: need to sync with storages first
self.neo.stop()
More information about the Neo-report
mailing list