Skip to content

Commit

Permalink
Merge pull request #10401 from theanalyst/rgw/test-multi-nose-attr
Browse files Browse the repository at this point in the history
rgw: test/multi.py add a destructive attr to tests

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Jul 26, 2016
2 parents c24d480 + 637e959 commit 4c4e0bc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/test/rgw/test_multi.py
Expand Up @@ -16,6 +16,11 @@
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

Expand Down Expand Up @@ -788,7 +793,7 @@ def test_multi_period_incremental_sync():

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')

Expand Down

0 comments on commit 4c4e0bc

Please sign in to comment.