Name | Status | Type | Time(s) |
test_restart_node_doesnt_lose_auth_data | Success | | 82.585 |
test_logged_batch_accepts_regular_mutations | Success | | 22.207 |
test_stop_commit_failure_policy | Success | | 72.893 |
test_13911_partitions_srp | Skipped | ported to in-JVM from 4.0 >= 5.1
/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.0 >= 5.1 | 0.484 |
test_disk_balance_after_joining_ring_lcs | Failure | AssertionError: values not within 10.00% of the max: (33547, 29410, 31813, 27235, 25704) (node1)
self = <disk_balance_test.TestDiskBalance object at 0x7f73b1690b50>
@since('3.10')
def test_disk_balance_after_joining_ring_lcs(self):
"""
@jira_ticket CASSANDRA-13948
"""
> self._disk_balance_after_joining_ring_test(lcs=True)
disk_balance_test.py:278:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
disk_balance_test.py:331: in _disk_balance_after_joining_ring_test
self._assert_balanced_after_boundary_change(node1, total_keys, lcs)
disk_balance_test.py:350: in _assert_balanced_after_boundary_change
self.assert_balanced(node)
disk_balance_test.py:187: in assert_balanced
assert_almost_equal(*new_sums, error=0.1, error_message=node.name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (33547, 29410, 31813, 27235, 25704)
kwargs = {'error': 0.1, 'error_message': 'node1'}, error = 0.1, vmax = 33547
vmin = 25704, error_message = 'node1'
def assert_almost_equal(*args, **kwargs):
"""
Assert variable number of arguments all fall within a margin of error.
@params *args variable number of numerical arguments to check
@params error Optional margin of error. Default 0.16
@params error_message Optional error message to print. Default ''
Examples:
assert_almost_equal(sizes[2], init_size)
assert_almost_equal(ttl_session1, ttl_session2[0][0], error=0.005)
"""
error = kwargs['error'] if 'error' in kwargs else 0.16
vmax = max(args)
vmin = min(args)
error_message = '' if 'error_message' not in kwargs else kwargs['error_message']
> assert vmin > vmax * (1.0 - error) or vmin == vmax, \
"values not within {:.2f}% of the max: {} ({})".format(error * 100, args, error_message)
E AssertionError: values not within 10.00% of the max: (33547, 29410, 31813, 27235, 25704) (node1)
tools/assertions.py:205: AssertionError | 220.167 |
test_insert_during_range_movement_rf3 | Success | | 86.148 |
test_with_less_results_than_page_size | Success | | 35.826 |
test_tombstone_failure_threshold_message | Success | | 45.849 |
test_count | Success | | 55.781 |
test_drop_column_and_restart | Success | | 56.377 |
test_sstableloader_uppercase_keyspace_name | Success | | 140.968 |
test_super_cf_remove_and_range_slice | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 0.271 |
test_index_scan | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 0.506 |
test_nulls_in_user_types | Success | | 41.905 |
test_insert | Success | | 22.466 |
test_boolstyle_round_trip | Success | | 40.252 |
test_no_anticompaction_after_subrange_repair | Skipped | 5.1 > 4
/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4 | 0.517 |