]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/rgw: address potential race condition in reshard testing
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 18 Jul 2024 21:48:56 +0000 (17:48 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 19 Jul 2024 18:31:04 +0000 (14:31 -0400)
commitaeaeaae7f5b677951773a6d718f327a9a04d5d75
treed285cc56faeb5ce6be658ad411b62374fba627dc
parent51fd35d7c7f08190c2371ec7b1326ea3aaf97aee
test/rgw: address potential race condition in reshard testing

The testing code does a `reshard add` followed by a `reshard list`. On
the narrow chance that the reshard was completed between those two
commands, we need to be able to handle the case where the reshard list
is empty. In that case we'll do a `bucket stats` to verify the reshard
completed successfully.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
qa/workunits/rgw/test_rgw_reshard.py