Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-novnode_jdk11_python3.8_cythonno_x86_64_15_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_15_64180122489.8192024-11-27T06:10:26.2063382d3e6df70fac

Tests

NameStatusTypeTime(s)
test_list_usersSuccess61.722
test_udf_permissions_in_select_where_clauseSuccess70.886
test_manual_bootstrapSuccess179.356
test_user_defined_compactionSuccess313.052
test_cql3_insert_thriftSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.199
test_basic_data_typesSuccess69.393
test_base_view_consistency_on_failure_after_mv_applySuccess302.084
test_paging_with_filtering_on_partition_key_on_clustering_columnsSuccess110.695
test_simple_rebuildSuccess193.391
test_range_deletion_on_wide_tableSuccess201.029
test_list_indexesSuccess222.999
test_fixed_ratioSuccess81.223
test_describe_keyspaceSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.273
test_decommissioned_node_cant_rejoinSuccess7.585
test_decommissioned_node_cant_rejoinFailureccmlib.node.TimeoutError: timed out and did not find log entry: This node was decommissioned and will not rejoin the ring

self = <topology_test.TestTopology object at 0x7fe3beec9100>

@since('3.0')
def test_decommissioned_node_cant_rejoin(self):
"""
@jira_ticket CASSANDRA-8801

Test that a decommissioned node can't rejoin the cluster by:

- creating a cluster,
- decommissioning a node, and
- asserting that the "decommissioned node won't rejoin" error is in the
logs for that node and
- asserting that the node is not running.
"""
rejoin_err = 'This node was decommissioned and will not rejoin the ring'
self.fixture_dtest_setup.ignore_log_patterns = list(self.fixture_dtest_setup.ignore_log_patterns) + [
rejoin_err]

self.cluster.populate(3).start()
node1, node2, node3 = self.cluster.nodelist()

logger.debug('decommissioning...')
node3.decommission(force=self.cluster.version() >= '4.0')
logger.debug('stopping...')
node3.stop()
logger.debug('attempting restart...')
node3.start(wait_other_notice=False)
timedout = False
try:
# usually takes 3 seconds, so give it a generous 15
node3.watch_log_for(rejoin_err, timeout=15)
except TimeoutError:
# TimeoutError is not very helpful to the reader of the test output;
# let that pass and move on to string assertion below
timedout = True

n3errors = node3.grep_log_for_errors()
if len(n3errors) == 0 and timedout:
> raise TimeoutError("timed out and did not find log entry: " + rejoin_err)
E ccmlib.node.TimeoutError: timed out and did not find log entry: This node was decommissioned and will not rejoin the ring

topology_test.py:425: TimeoutError
126.582
test_default_aggregateSuccess56.163
test_describe_round_tripSuccess62.547
test_reading_with_multiple_filesSuccess85.845
test_decommissionSuccess200.317
Properties »