]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test: Give time for OSDs to see map with flag change
authorDavid Zafman <dzafman@redhat.com>
Wed, 28 Jun 2017 21:16:04 +0000 (14:16 -0700)
committerSage Weil <sage@redhat.com>
Thu, 29 Jun 2017 03:51:25 +0000 (23:51 -0400)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/osd/osd-scrub-repair.sh

index c9ddd16703b0d7add46054badf68cbb6ed55f358..50e56d67e8078c700f58e40a34e091fa92863a32 100755 (executable)
@@ -2585,6 +2585,8 @@ function TEST_periodic_scrub_replicated() {
 
     # Can't upgrade with this set
     ceph osd set nodeep-scrub
+    # Let map change propagate to OSDs
+    sleep 2
 
     # Fake a schedule scrub
     local last_scrub=$(get_last_scrub_stamp $pg)