Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest_jdk17_python3.8_cythonno_x86_64_10_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_10_6417015840.8372024-10-03T00:06:20.243926232baa717231

Tests

NameStatusTypeTime(s)
test_system_auth_ks_is_alterableFailurecassandra.DriverException: Keyspace metadata was not refreshed. See log for details.

self = <auth_test.TestAuth object at 0x7f9466813a90>

def test_system_auth_ks_is_alterable(self):
"""
* Launch a three node cluster
* Verify the default RF of system_auth is 1
* Increase the system_auth RF to 3
* Run repair, see 10655
* Restart the cluster
* Check that each node agrees on the system_auth RF

@jira_ticket CASSANDRA-10655
"""
self.prepare(nodes=3)
logger.debug("nodes started")

session = self.get_session(user='cassandra', password='cassandra')
auth_metadata = UpdatingKeyspaceMetadataWrapper(
cluster=session.cluster,
ks_name='system_auth',
max_schema_agreement_wait=60 # 6x the default of 10
)
assert 1 == auth_metadata.replication_strategy.replication_factor

session.execute("""
ALTER KEYSPACE system_auth
WITH replication = {'class':'SimpleStrategy', 'replication_factor':3};
""")

> assert 3 == auth_metadata.replication_strategy.replication_factor

auth_test.py:102:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tools/metadata_wrapper.py:10: in __getattr__
return getattr(self._wrapped, name)
tools/metadata_wrapper.py:57: in _wrapped
self._cluster.refresh_keyspace_metadata(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <cassandra.cluster.Cluster object at 0x7f94662ac2b0>
keyspace = 'system_auth', max_schema_agreement_wait = 60

def refresh_keyspace_metadata(self, keyspace, max_schema_agreement_wait=None):
"""
Synchronously refresh keyspace metadata. This applies to keyspace-level information such as replication
and durability settings. It does not refresh tables, types, etc. contained in the keyspace.

See :meth:`~.Cluster.refresh_schema_metadata` for description of ``max_schema_agreement_wait`` behavior
"""
if not self.control_connection.refresh_schema(target_type=SchemaTargetType.KEYSPACE, keyspace=keyspace,
schema_agreement_wait=max_schema_agreement_wait, force=True):
> raise DriverException("Keyspace metadata was not refreshed. See log for details.")
E cassandra.DriverException: Keyspace metadata was not refreshed. See log for details.

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:2162: DriverException
38.146
test_drop_role_cleans_up_udf_permissionsSuccess21.695
test_bootstrap_with_reset_bootstrap_stateSuccess342.260
test_disable_autocompaction_alter_and_nodetool[DateTieredCompactionStrategy]SkippedDateTieredCompactionStrategy is not supported in Cassandra 5.0 and later

/home/cassandra/cassandra-dtest/compaction_test.py:595: DateTieredCompactionStrategy is not supported in Cassandra 5.0 and later
0.980
test_large_collection_errorsSkipped5.0.2 > 3.0

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 3.0
0.330
test_countersSuccess14.910
test_base_view_consistency_on_failure_before_mv_applySuccess124.578
test_paging_with_filtering_on_partition_key_on_clustering_columns_compactSkipped5.0.2 > 3.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 3.X
0.529
test_fail_when_seedSuccess43.657
test_rf_collapse_gossiping_property_file_snitchSuccess109.912
test_write_surveySuccess76.438
test_insertSkipped5.0.2 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 4
0.499
test_invalid_cf_namesSkipped5.0.2 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.2 > 4
0.511
test_remove_column_ttlSuccess17.660
test_tracing_from_system_tracesSuccess16.689
test_default_null_indicatorSuccess16.155
test_reading_pk_timestamps_with_countersSuccess14.905
Properties »