From: Casey Bodley Date: Tue, 9 May 2017 23:00:18 +0000 (-0400) Subject: test/rgw: dont assume zone1 and zone2 are on different clusters X-Git-Tag: v12.1.0~10^2~50^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=98305932491f632df1711c5c1eb0e26bc651d307;p=ceph.git test/rgw: dont assume zone1 and zone2 are on different clusters Signed-off-by: Casey Bodley --- diff --git a/src/test/rgw/rgw_multi/tests.py b/src/test/rgw/rgw_multi/tests.py index 3c043325ad21..4990b19fa47d 100644 --- a/src/test/rgw/rgw_multi/tests.py +++ b/src/test/rgw/rgw_multi/tests.py @@ -778,12 +778,6 @@ def test_zonegroup_remove(): zonegroup.zones.append(zone) zonegroup.period.update(zone, commit=True) - # try to 'zone delete' the new zone from cluster 1 - # must fail with ENOENT because the zone is local to cluster 2 - retcode = zone.delete(c1, check_retcode=False) - assert(retcode == 2) # ENOENT - - # use 'zonegroup remove', expecting success zonegroup.remove(c1, zone) # another 'zonegroup remove' should fail with ENOENT