Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest_jdk17_python3.8_cythonno_x86_64_49_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_49_6417016487.3252024-06-11T01:02:42.027179d46befb75817

Tests

NameStatusTypeTime(s)
test_create_and_grant_roles_with_superuser_statusSuccess19.944
test_logged_batch_throws_uaeSuccess49.784
test_compaction_delete[DateTieredCompactionStrategy]Skipped5.0 > 2.2.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 2.2.X
0.434
test_short_read_quorum_deleteSkippedported to in-JVM from 4.0 >= 5.0

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.0 >= 5.0
0.192
test_assassinate_valid_nodeSuccess173.246
test_rename_column_atomicitySuccess2.312
test_rename_column_atomicityFailurecassandra.OperationTimedOut: errors={'127.0.0.1:9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1:9042

self = <materialized_views_test.TestMaterializedViews object at 0x7f17efaa8640>

def test_rename_column_atomicity(self):
"""
Test that column renaming is atomically done between a table and its materialized views
@jira_ticket CASSANDRA-12952
"""
session = self.prepare(nodes=1, user_table=True, install_byteman=True)
node = self.cluster.nodelist()[0]

self._insert_data(session)

assert_one(
session,
"SELECT * FROM users_by_state WHERE state = 'TX' AND username = 'user1'",
['TX', 'user1', 1968, 'f', 'ch@ngem3a', None]
)

# Rename a column with an injected byteman rule to kill the node after the first schema update
self.fixture_dtest_setup.allow_log_errors = True

script_version = '5_1' if self.cluster.version() >= LooseVersion('5.1') else '4x' if self.cluster.version() >= '4' else '3x'
node.byteman_submit([mk_bman_path('merge_schema_failure_{}.btm'.format(script_version))])
with pytest.raises(NoHostAvailable):
> session.execute("ALTER TABLE users RENAME username TO user")

materialized_views_test.py:994:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../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="ALTER TABLE users RENAME username TO user", consistency=Not Set>' requ...9042': 'Client request timeout. See Session.execute[_async](timeout)'}, last_host=127.0.0.1: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.1:9042': '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
23.528
test_with_allow_filteringSuccess31.430
test_ghostsSuccess17.130
test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitionsSuccess64.441
test_standalone_scrub_essential_files_onlySuccess28.142
test_sstableloader_compression_none_to_deflateSkippedDon'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.447
test_range_with_removeSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.464
test_truncateSkipped5.0 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 4
0.215
test_mutation_v2Skipped5.0 > 2.2.x

/home/cassandra/cassandra-dtest/conftest.py:468: 5.0 > 2.2.x
0.181
test_create_tableSuccess11.084
test_wrong_number_of_columnsSuccess11.094
test_range_tombstone_digest_sequential_repairSuccess31.864
Properties »