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: v18.2.5~161^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9324845a194db87fb54c27d43f9bee29a23f1492;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 9e2517ad23734..894f4eda14b52 100644 --- a/src/test/rgw/rgw_multi/tests.py +++ b/src/test/rgw/rgw_multi/tests.py @@ -535,6 +535,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():