Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-novnode_jdk11_python3.8_cythonno_x86_64_3_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_3_6418015647.7022024-06-11T10:28:14.429402240b773dd993

Tests

NameStatusTypeTime(s)
test_archiving_fqlSuccess32.456
test_role_requires_password_to_loginSuccess21.971
test_simple_bootstrap_small_keepalive_periodSuccess111.628
test_disable_autocompaction_nodetool[LeveledCompactionStrategy]Success33.210
test_batch_preparationSuccess10.907
test_basic_authSuccess31.977
test_expired_liveness_with_limit_rf1_nodes1Success12.147
test_paging_with_filteringSuccess34.771
test_tracing_does_not_interfere_with_digest_calculationSuccess6.333
test_tracing_does_not_interfere_with_digest_calculationFailurecassandra.OperationTimedOut: errors={'Connection defunct by heartbeat': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042

self = <read_repair_test.TestReadRepair object at 0x7f51ced700d0>

@since('3.0')
def test_tracing_does_not_interfere_with_digest_calculation(self):
"""
Test that enabling tracing doesn't interfere with digest responses when using RandomPartitioner.
The use of a threadlocal MessageDigest for generating both DigestResponse messages and for
calculating tokens meant that the DigestResponse was always incorrect when both RP and tracing
were enabled, leading to unnecessary data reads.

@jira_ticket CASSANDRA-13964
"""
cluster = self.cluster
cluster.populate(3)
cluster.set_configuration_options(values={'write_request_timeout_in_ms': 30000,
'read_request_timeout_in_ms': 30000})
cluster.set_partitioner("org.apache.cassandra.dht.RandomPartitioner")
cluster.start(jvm_args=['-Dcassandra.wait_for_tracing_events_timeout_secs=15'])

node1 = cluster.nodelist()[0]
session = self.patient_cql_connection(node1)
create_ks(session, 'ks', 3)

session.execute("""
CREATE TABLE ks.users (
userid uuid PRIMARY KEY,
firstname text,
lastname text,
age int
);
""")

insert = session.prepare(
"INSERT INTO ks.users (userid, firstname, lastname, age) "
"VALUES (?, 'Frodo', 'Baggins', 32)")
insert.consistency_level = ConsistencyLevel.ALL

select = session.prepare(
"SELECT firstname, lastname "
"FROM ks.users WHERE userid = ?")
select.consistency_level = ConsistencyLevel.ALL

for _ in range(10):
id = uuid4()
session.execute(insert.bind((id,)), timeout=30)
> res = session.execute(select.bind((id,)), timeout=30, trace=True)

read_repair_test.py:427:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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='<BoundStatement query="SELECT firstname, lastname FROM ks.users WHERE userid = ?", values=(UUI...ient request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042 coordinator_host=127.0.0.1:9042>

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={'Connection defunct by heartbeat': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042

../cassandra/build/venv/src/cassandra-driver/cassandra/cluster.py:4894: OperationTimedOut
64.816
test_complementary_deletion_with_limit_on_static_column_with_not_empty_partitions_and_rows_afterSuccess69.343
test_6924_dropping_ksSuccess104.874
test_sstableloader_compression_deflate_to_snappySkippedDon't need to run base class test, only derived classes

/home/cassandra/cassandra-dtest/sstable_generation_loading_test.py:47: Don't need to run base class test, only derived classes
0.503
test_get_slice_super_rangeSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.542
test_multi_dc_tokens_murmur3Skipped5.0 > 3.0.0

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 3.0.0
0.560
test_expiration_overflow_policy_capnowarn_default_ttlSuccess29.050
test_copy_toSuccess17.731
test_datetimeformat_round_tripSkipped5.0 > 3.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 3.X
0.536
test_force_repair_range_async_2Skipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.576
Properties »