Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/rgw: fix test_encrypted_object_sync for 3+ zones #17377

Merged
merged 1 commit into from Sep 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/test/rgw/rgw_multi/tests.py
Expand Up @@ -935,7 +935,7 @@ def test_encrypted_object_sync():
zonegroup = realm.master_zonegroup()
zonegroup_conns = ZonegroupConns(zonegroup)

(zone1, zone2,) = zonegroup_conns.rw_zones
(zone1, zone2) = zonegroup_conns.rw_zones[0:2]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can drop the tuple syntax too, zone1, zone2 = ... will work (but either ways are fine)


# create a bucket on the first zone
bucket_name = gen_bucket_name()
Expand Down