Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk17_python3.8_cythonno_x86_64_49_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_49_64170162847.8812024-12-04T13:11:42.482886ca9b7e4b87b4

Tests

NameStatusTypeTime(s)
test_create_and_grant_roles_with_superuser_statusSuccess66.508
test_logged_batch_throws_uaeSuccess131.750
test_compaction_delete[DateTieredCompactionStrategy]Skipped5.1 > 2.2.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 2.2.X
1.086
test_short_read_deleteSkippedported to in-JVM from 4.0 >= 5.1

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.0 >= 5.1
1.365
test_functionalFailureFailed: Timeout >900.0s

self = <global_row_key_cache_test.TestGlobalRowKeyCache object at 0x7f0536673760>

def test_functional(self):
cluster = self.cluster
cluster.populate(3)
node1 = cluster.nodelist()[0]

for keycache_size in (0, 10):
for rowcache_size in (0, 10):
cluster.stop()
logger.debug("Testing with keycache size of %d MB, rowcache size of %d MB " %
(keycache_size, rowcache_size))
keyspace_name = 'ks_%d_%d' % (keycache_size, rowcache_size)

# make the caches save every five seconds
cluster.set_configuration_options(values={
'key_cache_size_in_mb': keycache_size,
'row_cache_size_in_mb': rowcache_size,
'row_cache_save_period': 5,
'key_cache_save_period': 5,
})

cluster.start()
session = self.patient_cql_connection(node1)
create_ks(session, keyspace_name, rf=3)

session.set_keyspace(keyspace_name)
create_cf_simple(session, 'test', "CREATE TABLE test (k int PRIMARY KEY, v1 int, v2 int)")
create_cf_simple(session, 'test_clustering',
"CREATE TABLE test_clustering (k int, v1 int, v2 int, PRIMARY KEY (k, v1))")
create_cf_simple(session, 'test_counter', "CREATE TABLE test_counter (k int PRIMARY KEY, v1 counter)")
create_cf_simple(session, 'test_counter_clustering',
"CREATE TABLE test_counter_clustering (k int, v1 int, v2 counter, PRIMARY KEY (k, v1))")

# insert 100 rows into each table
for cf in ('test', 'test_clustering'):
execute_concurrent_with_args(
session, session.prepare("INSERT INTO %s (k, v1, v2) VALUES (?, ?, ?)" % (cf,)),
[(i, i, i) for i in range(100)])

execute_concurrent_with_args(
session, session.prepare("UPDATE test_counter SET v1 = v1 + ? WHERE k = ?"),
[(i, i) for i in range(100)],
concurrency=2)

execute_concurrent_with_args(
session, session.prepare("UPDATE test_counter_clustering SET v2 = v2 + ? WHERE k = ? AND v1 = ?"),
[(i, i, i) for i in range(100)],
concurrency=2)

# flush everything to get it into sstables
for node in cluster.nodelist():
node.flush()

# update the first 10 rows in every table
# on non-counter tables, delete the first (remaining) row each round
num_updates = 10
for validation_round in range(3):
session.execute("DELETE FROM test WHERE k = %s", (validation_round,))
execute_concurrent_with_args(
session, session.prepare("UPDATE test SET v1 = ?, v2 = ? WHERE k = ?"),
[(i, validation_round, i) for i in range(validation_round + 1, num_updates)])

session.execute("DELETE FROM test_clustering WHERE k = %s AND v1 = %s", (validation_round, validation_round))
execute_concurrent_with_args(
session, session.prepare("UPDATE test_clustering SET v2 = ? WHERE k = ? AND v1 = ?"),
[(validation_round, i, i) for i in range(validation_round + 1, num_updates)])

execute_concurrent_with_args(
session, session.prepare("UPDATE test_counter SET v1 = v1 + ? WHERE k = ?"),
[(1, i) for i in range(num_updates)],
concurrency=2)

execute_concurrent_with_args(
session, session.prepare("UPDATE test_counter_clustering SET v2 = v2 + ? WHERE k = ? AND v1 = ?"),
[(1, i, i) for i in range(num_updates)],
concurrency=2)

self._validate_values(session, num_updates, validation_round)

session.shutdown()

# let the data be written to the row/key caches.
logger.debug("Letting caches be saved to disk")
> time.sleep(10)
E Failed: Timeout >900.0s

global_row_key_cache_test.py:102: Failed
906.926
test_rename_columnSuccess177.559
test_with_limitSuccess145.238
test_wide_rowSkippedported to in-JVM from 4.0 >= 5.1

/home/cassandra/cassandra-dtest/conftest.py:526: ported to in-JVM from 4.0 >= 5.1
1.237
test_complementary_deletion_with_limit_on_partition_key_column_with_empty_partitionsSuccess211.134
test_standalone_scrubSuccess142.160
test_sstableloader_compression_none_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
1.035
test_super_cql_write_compatibilitySkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.035
test_multi_sliceSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
1.177
test_column_index_stressSuccess456.314
test_drop_keyspaceSuccess73.002
test_copy_options_from_config_fileSuccess177.726
test_empty_vs_gcable_parallel_repairSuccess350.194
Properties »