Merge "Save original index in the determine_chunk_destinations test"

This commit is contained in:
Zuul 2019-01-16 00:08:50 +00:00 committed by Gerrit Code Review
commit 454fb8cdd1
1 changed files with 1 additions and 1 deletions

View File

@ -2097,7 +2097,7 @@ class TestECObjController(ECObjectControllerMixin, unittest.TestCase):
self.assertEqual(got, expected)
# now lets make a handoff at the end
orig_index = putters[-1].node_index = None
orig_index = putters[-1].node_index
putters[-1].node_index = None
got = controller._determine_chunk_destinations(putters, self.policy)
self.assertEqual(got, expected)