You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by zz...@apache.org on 2017/07/13 00:15:53 UTC
[42/50] cassandra-dtest git commit: Force decommission on topology
test where required on 4.0+, run with vnodes
Force decommission on topology test where required on 4.0+, run with vnodes
Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/c368a909
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/c368a909
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/c368a909
Branch: refs/heads/master
Commit: c368a9098a4f5c8bd476257019154bf700963294
Parents: 1cc4941
Author: Joel Knighton <jo...@datastax.com>
Authored: Mon Jun 19 14:53:06 2017 -0500
Committer: Philip Thompson <pt...@gmail.com>
Committed: Tue Jun 20 12:10:58 2017 +0200
----------------------------------------------------------------------
topology_test.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/c368a909/topology_test.py
----------------------------------------------------------------------
diff --git a/topology_test.py b/topology_test.py
index 15827f3..45c1c73 100644
--- a/topology_test.py
+++ b/topology_test.py
@@ -351,7 +351,6 @@ class TestTopology(Tester):
query_c1c2(session, n, ConsistencyLevel.ONE)
@since('3.0')
- @no_vnodes()
def decommissioned_node_cant_rejoin_test(self):
'''
@jira_ticket CASSANDRA-8801
@@ -375,7 +374,7 @@ class TestTopology(Tester):
node1, node2, node3 = self.cluster.nodelist()
debug('decommissioning...')
- node3.decommission()
+ node3.decommission(force=self.cluster.version() >= '4.0')
debug('stopping...')
node3.stop()
debug('attempting restart...')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org