Commit 949f7e0f authored by Julien Muchembled's avatar Julien Muchembled

threaded: fix typo

parent 34a2fea3
......@@ -729,7 +729,7 @@ class NEOCluster(object):
if node[2] == uuid:
return node[3]
def getOudatedCells(self):
def getOutdatedCells(self):
return [cell for row in self.neoctl.getPartitionRowList()[1]
for cell in row[1]
if cell[1] == CellStates.OUT_OF_DATE]
......
......@@ -383,7 +383,7 @@ class Test(NEOThreadedTest):
s1, s2 = cluster.storage_list
try:
cluster.start()
self.assertEqual([], cluster.getOudatedCells())
self.assertEqual([], cluster.getOutdatedCells())
finally:
cluster.stop()
# restart it with one storage only
......@@ -507,13 +507,13 @@ class Test(NEOThreadedTest):
try:
cluster.start()
checkNodeState(NodeStates.RUNNING)
self.assertEqual([], cluster.getOudatedCells())
self.assertEqual([], cluster.getOutdatedCells())
# drop one
cluster.neoctl.dropNode(s1.uuid)
checkNodeState(None)
self.tic() # Let node state update reach remaining storage
checkNodeState(None)
self.assertEqual([], cluster.getOudatedCells())
self.assertEqual([], cluster.getOutdatedCells())
# restart with s2 only
finally:
cluster.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