Fix typos in comments

Change-Id: I4f98d447bd2ddd8eeb2f4da66d069bd7d6f00dc6
This commit is contained in:
Samuel Merritt 2016-02-11 10:59:43 -08:00
parent 01410129da
commit f56d18e143

View File

@ -826,7 +826,7 @@ class TestObjectReplicator(unittest.TestCase):
# stopped after handoffs! # stopped after handoffs!
self.assertEqual(1, self.replicator.handoffs_remaining) self.assertEqual(1, self.replicator.handoffs_remaining)
self.assertEqual(8, self.replicator.job_count) self.assertEqual(8, self.replicator.job_count)
# in addition to the two update_delted jobs as many as "concurrency" # in addition to the two update_deleted jobs as many as "concurrency"
# jobs may have been spawned into the pool before the failed # jobs may have been spawned into the pool before the failed
# update_deleted job incremented handoffs_remaining and caused the # update_deleted job incremented handoffs_remaining and caused the
# handoffs_first check to abort the current pass # handoffs_first check to abort the current pass
@ -843,7 +843,7 @@ class TestObjectReplicator(unittest.TestCase):
node_ip = remote_path.split(':', 1)[0] node_ip = remote_path.split(':', 1)[0]
expected_replicate_requests.add(node_ip) expected_replicate_requests.add(node_ip)
self.assertEqual(set(handoff_suffix_paths), found_rsync_suffix_paths) self.assertEqual(set(handoff_suffix_paths), found_rsync_suffix_paths)
# sanity, all successful rsync nodes got REPLCIATE requests # sanity, all successful rsync nodes got REPLICATE requests
found_replicate_requests = set() found_replicate_requests = set()
self.assertEqual(5, len(conn_log.requests)) self.assertEqual(5, len(conn_log.requests))
for req in conn_log.requests: for req in conn_log.requests: