]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Make sure that extra scheduled scrubs don't confuse test 28302/head
authorDavid Zafman <dzafman@redhat.com>
Fri, 24 May 2019 00:21:14 +0000 (17:21 -0700)
committerDavid Zafman <dzafman@redhat.com>
Wed, 29 May 2019 21:03:57 +0000 (14:03 -0700)
Fixes: http://tracker.ceph.com/issues/40078
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/scrub/osd-scrub-snaps.sh

index e09a551f54e1f1a33d30baa37bf1afec96ada770..5f3bb6549636a57b237b4382c255924fc478eccf 100755 (executable)
@@ -178,6 +178,10 @@ function TEST_scrub_snaps() {
       run_osd $dir $osd || return 1
     done
 
+    # All scrubs done manually.  Don't want any unexpected scheduled scrubs.
+    ceph osd set noscrub || return 1
+    ceph osd set nodeep-scrub || return 1
+
     # Create a pool with a single pg
     create_pool $poolname 1 1
     wait_for_clean || return 1
@@ -783,6 +787,10 @@ function _scrub_snaps_multi() {
       run_osd $dir $osd || return 1
     done
 
+    # All scrubs done manually.  Don't want any unexpected scheduled scrubs.
+    ceph osd set noscrub || return 1
+    ceph osd set nodeep-scrub || return 1
+
     # Create a pool with a single pg
     create_pool $poolname 1 1
     wait_for_clean || return 1