]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/osd-scrub-dump.sh: fix scrub chunk size 50236/head
authorRonen Friedman <rfriedma@redhat.com>
Thu, 23 Feb 2023 15:53:56 +0000 (17:53 +0200)
committerRonen Friedman <rfriedma@redhat.com>
Sun, 26 Feb 2023 13:06:19 +0000 (15:06 +0200)
commitce7e132e7dabc0b5ef8add1cd3e2be0e26b37380
treede4ea755c37633ecd1f0565597b11d7f96196ce3
parent01ad87ef30f99cae14baa152cc0b7bdf6ec0a114
test/osd-scrub-dump.sh: fix scrub chunk size

The test performs shallow scrubs, intentionally using small chunk
sizes to allow dump commands time to check specific details.
Following commit ffda64119fc6165cebffd0b26619ad47b13daf51
(PR#44749), shallow scrubs chunks are controlled by a separate
configuration parameter. This PR fixes the test to use the
correct parameter.

An additional minor change is an adjustment to the test loop sleep time:
it is now reduced to guarantee that a dump followed by a counter
increase will be performed in more-or-less the scrubs frequency.

Fixes: https://tracker.ceph.com/issues/58797
Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
qa/standalone/scrub/osd-scrub-dump.sh