Skip to content

Commit

Permalink
Set system_distributed to RF=2 before test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt committed Dec 12, 2016
1 parent 7a0ca6f commit ec41ac7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion topology_test.py
Expand Up @@ -346,7 +346,7 @@ def crash_during_decommission_test(self):
out = self.show_status(node2)
self.assertFalse(null_status_pattern.search(out))

@since('3.10')
@since('3.12')
@attr('resource-intensive')
def stop_decommission_too_few_replicas_multi_dc_test(self):
"""
Expand All @@ -359,6 +359,7 @@ def stop_decommission_too_few_replicas_multi_dc_test(self):
cluster.populate([2, 2]).start(wait_for_binary_proto=True)
node1, node2, node3, node4 = self.cluster.nodelist()
session = self.patient_cql_connection(node2)
session.execute("ALTER KEYSPACE system_distributed WITH REPLICATION = {'class':'SimpleStrategy', 'replication_factor':'2'};")
create_ks(session, 'ks', {'dc1': 2, 'dc2': 2})
with self.assertRaises(ToolError):
node4.nodetool('decommission')
Expand Down

0 comments on commit ec41ac7

Please sign in to comment.