]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/multisite: add meta checkpoint after bucket creation 60129/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 4 Oct 2024 20:13:54 +0000 (16:13 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 4 Oct 2024 20:13:56 +0000 (16:13 -0400)
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>
src/test/rgw/rgw_multi/tests.py

index 2d49c7a0ce01cef649383e54c1f88028f6672439..1685298470d6163d7169f3d2f05d7fa46aa06356 100644 (file)
@@ -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():