]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/multisite: add meta checkpoint after bucket creation 60978/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:37 +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 fe3e012b4b509177b30a1c29be6138d2a85b5886..57c8c219891e48ff2188d55e5171936e9b68a20f 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():