]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Make sure that extra scheduled scrubs don't confuse test 29251/head
authorDavid Zafman <dzafman@redhat.com>
Fri, 24 May 2019 00:21:14 +0000 (17:21 -0700)
committerNathan Cutler <ncutler@suse.com>
Wed, 24 Jul 2019 11:01:51 +0000 (13:01 +0200)
Fixes: http://tracker.ceph.com/issues/40078
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 893d227c822091e9d32423a1902d5f2ece7b0991)

qa/standalone/scrub/osd-scrub-snaps.sh

index 0dd3d71a299d64969e3a194e24aaae1ec3da2251..fd0eb628c5e09008f31f37097ab7592139d3c86c 100755 (executable)
@@ -158,6 +158,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
@@ -747,6 +751,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