Unit Test Results.

Designed for use with JUnit and Ant.

All Tests

ClassNameStatusTypeTime(s)
8_cythonno_x86_64_1_8test_network_topology_strategySuccess213.446
8_cythonno_x86_64_1_8test_disk_balance_bootstrapSuccess143.184
8_cythonno_x86_64_1_8test_throttled_partition_updateSuccess615.557
8_cythonno_x86_64_1_8test_resume_failed_replaceSuccess6.500
8_cythonno_x86_64_1_8test_resume_failed_replaceFailurecassandra.OperationTimedOut: errors={'127.0.0.4:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.4:9042

self = <replace_address_test.TestReplaceAddress object at 0x7fbd2cfbe070>

@since('2.2')
@pytest.mark.resource_intensive
def test_resume_failed_replace(self):
"""
Test resumable bootstrap while replacing node. Feature introduced in
2.2 with ticket https://issues.apache.org/jira/browse/CASSANDRA-8838

@jira_ticket https://issues.apache.org/jira/browse/CASSANDRA-8838
"""
> self._test_restart_failed_replace(mode='resume')

replace_address_test.py:517:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replace_address_test.py:607: in _test_restart_failed_replace
self._verify_data(initial_data)
replace_address_test.py:167: in _verify_data
assert_all(session, 'select * from {} LIMIT {}'.format(table, limit),
tools/assertions.py:182: in assert_all
res = session.execute(simple_query) if timeout is None else session.execute(simple_query, timeout=timeout)
../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2618: in execute
return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state, host, execute_as).result()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <ResponseFuture: query='<SimpleStatement query="select * from keyspace1.standard1 LIMIT 10000", consistency=ONE>' requ...9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.4:9042 coordinator_host=None>

def result(self):
"""
Return the final result or raise an Exception if errors were
encountered. If the final result or error has not been set
yet, this method will block until it is set, or the timeout
set for the request expires.

Timeout is specified in the Session request execution functions.
If the timeout is exceeded, an :exc:`cassandra.OperationTimedOut` will be raised.
This is a client-side timeout. For more information
about server-side coordinator timeouts, see :class:`.policies.RetryPolicy`.

Example usage::

>>> future = session.execute_async("SELECT * FROM mycf")
>>> # do other stuff...

>>> try:
... rows = future.result()
... for row in rows:
... ... # process results
... except Exception:
... log.exception("Operation failed:")

"""
self._event.wait()
if self._final_result is not _NOT_SET:
return ResultSet(self, self._final_result)
else:
> raise self._final_exception
E cassandra.OperationTimedOut: errors={'127.0.0.4:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.4:9042

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: OperationTimedOut
159.690
8_cythonno_x86_64_1_8test_initial_empty_repair_tablesSkippedhangs CI

/home/cassandra/cassandra-dtest/repair_tests/repair_test.py:1416: hangs CI
0.001
8_cythonno_x86_64_2_8test_network_topology_strategy_each_quorumSuccess179.625
8_cythonno_x86_64_2_8test_add_dc_after_mv_simple_replicationSuccess206.212
8_cythonno_x86_64_2_8test_really_complex_repairSuccess258.174
8_cythonno_x86_64_2_8test_restart_failed_replace_with_reset_resume_stateSuccess286.501
8_cythonno_x86_64_2_8test_repair_parent_tableSuccess85.942
8_cythonno_x86_64_3_8test_simple_strategy_usersSuccess207.331
8_cythonno_x86_64_3_8test_add_dc_after_mv_network_replicationSuccess228.248
8_cythonno_x86_64_3_8test_replace_stopped_nodeSuccess211.550
8_cythonno_x86_64_3_8test_restart_failed_replaceSuccess346.303
8_cythonno_x86_64_3_8test_repair_tableSuccess83.089
8_cythonno_x86_64_4_8test_simple_strategy_each_quorum_usersSuccess82.552
8_cythonno_x86_64_4_8test_add_node_after_mvSuccess129.851
8_cythonno_x86_64_4_8test_replace_shutdown_nodeSuccess200.538
8_cythonno_x86_64_4_8test_rf_collapse_gossiping_property_file_snitch_multi_dcSuccess227.706
8_cythonno_x86_64_5_8test_network_topology_strategy_usersSuccess170.616
8_cythonno_x86_64_5_8test_add_node_after_wide_mv_with_range_deletionsSuccess142.613
8_cythonno_x86_64_5_8test_replace_stopped_node_same_addressSuccess168.758
8_cythonno_x86_64_5_8test_rf_expand_gossiping_property_file_snitch_multi_dcSuccess189.683
8_cythonno_x86_64_6_8test_network_topology_strategy_each_quorum_usersSuccess93.617
8_cythonno_x86_64_6_8test_add_node_after_very_wide_mvSuccess332.886
8_cythonno_x86_64_6_8test_replace_first_bootSuccess195.634
8_cythonno_x86_64_6_8test_multidatacenter_local_quorumSuccess98.892
8_cythonno_x86_64_7_8test_network_topology_strategy_countersSuccess127.864
8_cythonno_x86_64_7_8test_add_write_survey_node_after_mvSuccess123.150
8_cythonno_x86_64_7_8test_replace_active_nodeSuccess80.808
8_cythonno_x86_64_7_8test_stop_decommission_too_few_replicas_multi_dcSuccess112.335
8_cythonno_x86_64_8_8test_network_topology_strategy_each_quorum_countersSuccess76.866
8_cythonno_x86_64_8_8test_complex_repairSuccess255.523
8_cythonno_x86_64_8_8test_replace_nonexistent_nodeSuccess47.123
8_cythonno_x86_64_8_8test_sstable_marking_not_intersecting_all_rangesSuccess81.733
8_cythonno_x86_64_1_8test_network_topology_strategySuccess240.987
8_cythonno_x86_64_1_8test_disk_balance_bootstrapSuccess180.027
8_cythonno_x86_64_1_8test_throttled_partition_updateSuccess645.838
8_cythonno_x86_64_1_8test_resume_failed_replaceSuccess164.116
8_cythonno_x86_64_1_8test_initial_empty_repair_tablesSkippedhangs CI

/home/cassandra/cassandra-dtest/repair_tests/repair_test.py:1416: hangs CI
0.001
8_cythonno_x86_64_2_8test_network_topology_strategy_each_quorumSuccess199.425
8_cythonno_x86_64_2_8test_add_dc_after_mv_simple_replicationSuccess209.156
8_cythonno_x86_64_2_8test_really_complex_repairSuccess258.236
8_cythonno_x86_64_2_8test_restart_failed_replace_with_reset_resume_stateSuccess293.404
8_cythonno_x86_64_2_8test_repair_parent_tableSuccess80.939
8_cythonno_x86_64_3_8test_simple_strategy_usersSuccess163.920
8_cythonno_x86_64_3_8test_add_dc_after_mv_network_replicationSuccess216.248
8_cythonno_x86_64_3_8test_replace_stopped_nodeSuccess193.393
8_cythonno_x86_64_3_8test_restart_failed_replaceSuccess339.521
8_cythonno_x86_64_3_8test_repair_tableSuccess92.260
8_cythonno_x86_64_4_8test_simple_strategy_each_quorum_usersSuccess86.309
8_cythonno_x86_64_4_8test_add_node_after_mvSuccess125.679
8_cythonno_x86_64_4_8test_replace_shutdown_nodeSuccess195.655
8_cythonno_x86_64_4_8test_rf_collapse_gossiping_property_file_snitch_multi_dcSuccess201.559
8_cythonno_x86_64_5_8test_network_topology_strategy_usersSuccess220.352
8_cythonno_x86_64_5_8test_add_node_after_wide_mv_with_range_deletionsSuccess157.841
8_cythonno_x86_64_5_8test_replace_stopped_node_same_addressSuccess172.464
8_cythonno_x86_64_5_8test_rf_expand_gossiping_property_file_snitch_multi_dcSuccess200.540
8_cythonno_x86_64_6_8test_network_topology_strategy_each_quorum_usersSuccess72.813
8_cythonno_x86_64_6_8test_add_node_after_very_wide_mvSuccess281.922
8_cythonno_x86_64_6_8test_replace_first_bootSuccess188.566
8_cythonno_x86_64_6_8test_multidatacenter_local_quorumSuccess82.498
8_cythonno_x86_64_7_8test_network_topology_strategy_countersSuccess124.586
8_cythonno_x86_64_7_8test_add_write_survey_node_after_mvSuccess122.180
8_cythonno_x86_64_7_8test_replace_active_nodeSuccess78.517
8_cythonno_x86_64_7_8test_stop_decommission_too_few_replicas_multi_dcSuccess112.576
8_cythonno_x86_64_8_8test_network_topology_strategy_each_quorum_countersSuccess82.272
8_cythonno_x86_64_8_8test_complex_repairSuccess277.800
8_cythonno_x86_64_8_8test_replace_nonexistent_nodeSuccess47.364
8_cythonno_x86_64_8_8test_sstable_marking_not_intersecting_all_rangesSuccess97.740