Skip to content
Browse files
add simple removenode test
Patch by brandonwilliams; reviwed by mck for CASSANDRA-16381
  • Loading branch information
driftx committed Mar 4, 2021
1 parent 2b74401 commit c439ff0ea34d37b1c799e7e54e48102caee7805e
Showing 1 changed file with 15 additions and 0 deletions.
@@ -127,6 +127,21 @@ def test_size_estimates_multidc(self):
assert_none(session, "SELECT range_start, range_end FROM system.size_estimates "
"WHERE keyspace_name = 'ks2'")

def test_simple_removenode(self):
""" test removenode """
cluster = self.cluster
node1, node2, node3 = cluster.nodelist()

node1.stress(['write', 'n=10K', 'no-warmup', '-rate', 'threads=8', '-schema', 'replication(factor=2)'])

node3_id = node3.nodetool('info').stdout[25:61]
node1.nodetool('removenode ' + node3_id)

node1.stress(['read', 'n=10K', 'no-warmup', '-rate', 'threads=8'])

def test_simple_decommission(self):
@jira_ticket CASSANDRA-9912

0 comments on commit c439ff0

Please sign in to comment.