]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/multisite: fix test_bucket_remove false failure on bucket deletion check 68167/head
authorShilpa Jagannath <smanjara@redhat.com>
Wed, 1 Apr 2026 19:50:59 +0000 (19:50 +0000)
committerShilpa Jagannath <smanjara@redhat.com>
Wed, 1 Apr 2026 22:39:46 +0000 (22:39 +0000)
commitb20a3b7c67952e12a1df4ac2c51e1baee9ffcce0
tree1a936a6bccb1a7567a8acaa78b93f103c331d17c
parent589bdde0fb33f355c612cb4222b6854377a70169
qa/multisite: fix test_bucket_remove false failure on bucket deletion check

get_bucket() was silently returning None for missing buckets instead of
raising, causing check_all_buckets_dont_exist() to always report buckets
as still present after deletion. fix get_bucket() to propagate ClientError

also, replace bare exception with specific ClientError handling
and logging in check_all_buckets_exist and check_all_buckets_dont_exist

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/test/rgw/rgw_multi/tests.py
src/test/rgw/rgw_multi/zone_rados.py