Skip to content

Commit

Permalink
Specify decommission test as resource-intensive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt committed Nov 17, 2016
1 parent 7782788 commit 7a0ca6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion topology_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

from cassandra import ConsistencyLevel
from ccmlib.node import TimeoutError, ToolError
from nose.plugins.attrib import attr

from dtest import Tester, debug, create_ks, create_cf
from tools.assertions import assert_almost_equal
Expand Down Expand Up @@ -346,6 +347,7 @@ def crash_during_decommission_test(self):
self.assertFalse(null_status_pattern.search(out))

@since('3.10')
@attr('resource-intensive')
def stop_decommission_too_few_replicas_multi_dc_test(self):
"""
Decommission should fail when it would result in the number of live replicas being less than
Expand All @@ -358,7 +360,6 @@ def stop_decommission_too_few_replicas_multi_dc_test(self):
node1, node2, node3, node4 = self.cluster.nodelist()
session = self.patient_cql_connection(node2)
create_ks(session, 'ks', {'dc1': 2, 'dc2': 2})
nodetool_error = None
with self.assertRaises(ToolError):
node4.nodetool('decommission')

Expand Down

0 comments on commit 7a0ca6f

Please sign in to comment.