]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: dont assume zone1 and zone2 are on different clusters
authorCasey Bodley <cbodley@redhat.com>
Tue, 9 May 2017 23:00:18 +0000 (19:00 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 18 May 2017 17:37:35 +0000 (13:37 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/rgw/rgw_multi/tests.py

index 3c043325ad21b743a099319d1a5e7f71c398da8a..4990b19fa47d4ade9fec1b31f95668891f39892c 100644 (file)
@@ -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