]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_manager: in test_map_discontinuity, delay killing osd for 20s
authorSamuel Just <sam.just@inktank.com>
Thu, 16 Jan 2014 17:57:42 +0000 (09:57 -0800)
committerSamuel Just <sam.just@inktank.com>
Thu, 16 Jan 2014 17:57:44 +0000 (09:57 -0800)
This should give enough time for the replica to get the message
marking them clean.

Signed-off-by: Samuel Just <sam.just@inktank.com>
teuthology/task/ceph_manager.py

index 640dfa3fe9537eb8cdb76e72184981d6023bc091..ee5fa84f703a9001a0030c0f9198157adb25015c 100644 (file)
@@ -220,6 +220,8 @@ class Thrasher:
             timeout=self.config.get('timeout')
             )
 
+        # now we wait 20s for the backfill replicas to hear about the clean
+        time.sleep(20)
         self.log("Recovered, killing an osd")
         self.kill_osd(mark_down=True, mark_out=True)
         self.log("Waiting for clean again")