diff options
author | Ronen Friedman <rfriedma@redhat.com> | 2025-01-14 12:39:14 +0100 |
---|---|---|
committer | Ronen Friedman <rfriedma@redhat.com> | 2025-01-14 12:39:14 +0100 |
commit | 5a966ca95d941b69c51fc5c8bdebe867fcb3ede2 (patch) | |
tree | 88b8600884657972ec7d10d477e23f32acd9576d | |
parent | common: config_cacher: use set::contains() instead of count() (diff) | |
download | ceph-5a966ca95d941b69c51fc5c8bdebe867fcb3ede2.tar.xz ceph-5a966ca95d941b69c51fc5c8bdebe867fcb3ede2.zip |
qa/scrub: more delay when waiting for noscrub to take effect
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
-rwxr-xr-x | qa/standalone/scrub/osd-scrub-test.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/qa/standalone/scrub/osd-scrub-test.sh b/qa/standalone/scrub/osd-scrub-test.sh index 799252c1060..385479258f2 100755 --- a/qa/standalone/scrub/osd-scrub-test.sh +++ b/qa/standalone/scrub/osd-scrub-test.sh @@ -603,17 +603,16 @@ function TEST_dump_scrub_schedule() { declare -A expct_dmp_duration=( ['dmp_last_duration']="0" ['dmp_last_duration_neg']="not0" ) wait_any_cond $pgid 10 $saved_last_stamp expct_dmp_duration "WaitingAfterScrub_dmp " sched_data || return 1 - sleep 2 - # # step 2: set noscrub and request a "periodic scrub". Watch for the change in the 'is the scrub # scheduled for the future' value # - ceph tell osd.* config set osd_shallow_scrub_chunk_max "3" || return 1 - ceph tell osd.* config set osd_scrub_sleep "2.0" || return 1 ceph osd set noscrub || return 1 sleep 2 + ceph tell osd.* config set osd_shallow_scrub_chunk_max "3" || return 1 + ceph tell osd.* config set osd_scrub_sleep "2.0" || return 1 + sleep 8 saved_last_stamp=${sched_data['query_last_stamp']} ceph tell $pgid schedule-scrub |