]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/standalone/scrub: retry in TEST_abort_periodic_for_operator()
authorRonen Friedman <rfriedma@redhat.com>
Thu, 20 Feb 2025 16:15:44 +0000 (10:15 -0600)
committerRonen Friedman <rfriedma@redhat.com>
Thu, 20 Feb 2025 16:15:44 +0000 (10:15 -0600)
commit0a76d6cd01db1370ff457fd1d143f379df3fbd6c
tree122a503c54f6ab8e4e18ceae93792590dd8810da
parente11d6ce392765b269f5b9ce5bb1b29c4e5e18489
qa/standalone/scrub: retry in TEST_abort_periodic_for_operator()

The scenario created in the test requires two PGs that share the same
Primary, and at least one more member of their active sets.
The PR handles the (unlikely) case where the first PG tried does not
have a counterpart that matches the requirements.

A minor related fix in scrub-helpers.sh: using 'printf' to
return a value, instead of an out (ref) parameter.

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