Since the `test_zonegroup_remove` actually destroys a zonegroup, we
could just filter this out and run the suite as
`nosetests -a !destructive ../path/to/test-multi.py`
for provisioning a multisite mstart cluster.
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
import inspect
from nose.tools import eq_ as eq
+from nose.plugins.attrib import attr
+
+# test-suite for rgw multisite, the last test destroys a zone,
+# so in order to use this as a dev cluster, do
+# $nosetests -a '!destructive' /path/to/test_multi.py
log_level = 20
check_bucket_eq(source_zone, target_zone, bucket)
-# TODO: test this in isolation, so it doesn't have side effects on other tests
+@attr('destructive')
def test_zonegroup_remove():
z1 = realm.get_zone('us-1')