mirror of
https://github.com/ceph/ceph
synced 2025-05-06 17:48:29 +00:00
Merge pull request #28302 from dzafman/wip-40078
test: Make sure that extra scheduled scrubs don't confuse test Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
commit
590b4138ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user