Skip to content

Commit 8daa791

Browse files
committed
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 <[email protected]>
1 parent 6e3693e commit 8daa791

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/rgw/rgw_multi/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,7 @@ def create_bucket_per_zone_in_realm():
573573
b, z = create_bucket_per_zone(zg_conn)
574574
buckets.extend(b)
575575
zone_bucket.extend(z)
576+
realm_meta_checkpoint(realm)
576577
return buckets, zone_bucket
577578

578579
def test_bucket_create():

0 commit comments

Comments
 (0)