Skip to content

Commit

Permalink
test/rgw: test incremental sync of acls on versioned object
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b300e14)
  • Loading branch information
cbodley authored and Prashant D committed Jul 23, 2018
1 parent deedcd3 commit e957e17
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/rgw/rgw_multi/tests.py
Expand Up @@ -694,6 +694,18 @@ def test_versioned_object_incremental_sync():
for _, bucket in zone_bucket:
zonegroup_bucket_checkpoint(zonegroup_conns, bucket.name)

for _, bucket in zone_bucket:
# overwrite the acls to test that metadata-only entries are applied
for zone_conn in zonegroup_conns.rw_zones:
obj = 'obj-' + zone_conn.name
k = new_key(zone_conn, bucket.name, obj)
v = get_latest_object_version(k)
v.make_public()

for _, bucket in zone_bucket:
zonegroup_bucket_checkpoint(zonegroup_conns, bucket.name)


def test_bucket_versioning():
buckets, zone_bucket = create_bucket_per_zone_in_realm()
for _, bucket in zone_bucket:
Expand Down

0 comments on commit e957e17

Please sign in to comment.