]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/multisite: add meta checkpoint after bucket creation 60977/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 4 Oct 2024 20:13:54 +0000 (16:13 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 6 Dec 2024 14:49:07 +0000 (09:49 -0500)
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 <cbodley@redhat.com>
(cherry picked from commit 8daa791d396a244249a5c4ececa263c552134681)

src/test/rgw/rgw_multi/tests.py

index 9e2517ad2373422495ea53ebdc7047de76562990..894f4eda14b52ff8166734808208e237ea54e191 100644 (file)
@@ -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():