]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tests/rgw-multi: add meta checkpoint to test_bucket_creation_time
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 11 Mar 2021 15:11:22 +0000 (07:11 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Thu, 11 Mar 2021 15:12:51 +0000 (07:12 -0800)
Otherwise could race with other test's bucket deletion

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/test/rgw/rgw_multi/tests.py

index ae45714cd6cb9a2a412e2d85903f482b1bcbdfdb..a30993ea50c5fa015208b21927112342422bad99 100644 (file)
@@ -1309,6 +1309,8 @@ def test_bucket_creation_time():
     zonegroup = realm.master_zonegroup()
     zonegroup_conns = ZonegroupConns(zonegroup)
 
+    zonegroup_meta_checkpoint(zonegroup)
+
     zone_buckets = [zone.get_connection().get_all_buckets() for zone in zonegroup_conns.rw_zones]
     for z1, z2 in combinations(zone_buckets, 2):
         for a, b in zip(z1, z2):