From: Casey Bodley Date: Fri, 4 Oct 2024 20:13:54 +0000 (-0400) Subject: test/rgw/multisite: add meta checkpoint after bucket creation X-Git-Tag: v19.2.3~204^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc372844849e692911cf8f501a445aa22f1f4ed6;p=ceph.git test/rgw/multisite: add meta checkpoint after bucket creation several tests were calling create_bucket_per_zone_in_realm() then operating on the buckets without a meta checkpoint add a checkpoint so that metadata sync of the bucket creation doesn't race to undo those operations Fixes: https://tracker.ceph.com/issues/68396 Signed-off-by: Casey Bodley (cherry picked from commit 8daa791d396a244249a5c4ececa263c552134681) --- diff --git a/src/test/rgw/rgw_multi/tests.py b/src/test/rgw/rgw_multi/tests.py index fe3e012b4b5..57c8c219891 100644 --- a/src/test/rgw/rgw_multi/tests.py +++ b/src/test/rgw/rgw_multi/tests.py @@ -573,6 +573,7 @@ def create_bucket_per_zone_in_realm(): b, z = create_bucket_per_zone(zg_conn) buckets.extend(b) zone_bucket.extend(z) + realm_meta_checkpoint(realm) return buckets, zone_bucket def test_bucket_create():