]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: osd-recovery-scrub.sh: Test fails if no scrubs happened for a recovering pg 40101/head
authorDavid Zafman <dzafman@redhat.com>
Sat, 13 Mar 2021 05:56:28 +0000 (05:56 +0000)
committerDavid Zafman <dzafman@redhat.com>
Sun, 14 Mar 2021 23:19:46 +0000 (16:19 -0700)
commiteec821b6e51691d4efcc7572ef9844d910962fc9
treec4c670bc3bba9c70eb2142e3e87cc9a1dd5d621f
parenta4fd1d650e06f115ed824b8742d834f52a36dc67
test: osd-recovery-scrub.sh: Test fails if no scrubs happened for a recovering pg

Change TEST_recovery_scrub_2 to create more objects and use
osd_recovery_sleep to prevent recovery from finihing before
we start to scrub.  Verify that at least 1 scrub was started
while the pg was reovering.

Fixes: https://tracker.ceph.com/issues/49779
Signed-off-by: David Zafman <dzafman@redhat.com>
qa/standalone/scrub/osd-recovery-scrub.sh