Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest_jdk11_python3.8_cythonno_x86_64_48_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_48_6417016604.4402024-11-11T11:11:40.5379055aa28a961b9c

Tests

NameStatusTypeTime(s)
test_creator_of_db_resource_granted_all_permissionsSuccess30.231
test_unlogged_batch_rejects_counter_mutationsSuccess21.610
test_compaction_delete[SizeTieredCompactionStrategy]Skipped5.1 > 2.2.X

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 2.2.X
0.442
test_short_readSkippedported 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_unclean_enableSuccess21.926
test_query_new_columnSuccess47.720
test_with_order_by_reversedSuccess36.736
test_rangeputgetSkippedported 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.469
test_update_on_collectionSuccess46.876
test_nodetool_scrubSuccess50.478
test_sstableloader_compression_none_to_noneSkippedDon'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.480
test_super_cql_read_compatibilitySkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.460
test_get_range_slice_after_deletionSkipped5.1 > 4

/home/cassandra/cassandra-dtest/conftest.py:468: 5.1 > 4
0.194
test_wide_rowsSuccess41.405
test_create_keyspaceSuccess22.173
test_round_trip_with_rate_fileFailureAssertionError: assert False + where False = <built-in method startswith of str object at 0x7f334e4bb430>('Processed: 200000 rows;') + where <built-in method startswith of str object at 0x7f334e4bb430> = 'Processed: 195000 rows; Rate: 29372 rows/s; Avg. rate: 2029 rows/s'.startswith + and 'Processed: 200000 rows;' = <built-in method format of str object at 0x7f335d9d58f0>(200000) + where <built-in method format of str object at 0x7f335d9d58f0> = 'Processed: {} rows;'.format

self = <cqlsh_tests.test_cqlsh_copy.TestCqlshCopy object at 0x7f335d9a5f40>

def test_round_trip_with_rate_file(self):
"""
Test a round trip with a large number of rows and a rate file. Make sure the rate file contains
output statistics

@jira_ticket CASSANDRA-9303
"""
num_rows = 200000
report_frequency = 0.1 # every 100 milliseconds
stress_table = 'keyspace1.standard1'
ratefile = self.get_temp_file()
tempfile = self.get_temp_file()

def check_rate_file():
lines = [line.rstrip('\n') for line in open(ratefile.name)]
logger.debug(lines)
assert lines[-1].startswith('Processed: {} rows;'.format(num_rows))

self.prepare()

logger.debug('Running stress')
self.node1.stress(['write', 'n={}'.format(num_rows), 'no-warmup', '-rate', 'threads=50'])

logger.debug('Exporting to csv file: {}'.format(tempfile.name))
self.run_cqlsh(cmds="COPY {} TO '{}' WITH RATEFILE='{}' AND REPORTFREQUENCY='{}'"
.format(stress_table, tempfile.name, ratefile.name, report_frequency))

# check all records were exported
assert num_rows == len(open(tempfile.name).readlines())

check_rate_file()

# clean-up
os.unlink(ratefile.name)
self.session.execute("TRUNCATE {}".format(stress_table))

logger.debug('Importing from csv file: {}'.format(tempfile.name))
self.run_cqlsh(cmds="COPY {} FROM '{}' WITH RATEFILE='{}' AND REPORTFREQUENCY='{}'"
.format(stress_table, tempfile.name, ratefile.name, report_frequency))

# check all records were imported
assert [[num_rows]] == rows_to_list(self.session.execute("SELECT COUNT(*) FROM {}"
.format(stress_table)))

> check_rate_file()

cqlsh_tests/test_cqlsh_copy.py:2139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

def check_rate_file():
lines = [line.rstrip('\n') for line in open(ratefile.name)]
logger.debug(lines)
> assert lines[-1].startswith('Processed: {} rows;'.format(num_rows))
E AssertionError: assert False
E + where False = <built-in method startswith of str object at 0x7f334e4bb430>('Processed: 200000 rows;')
E + where <built-in method startswith of str object at 0x7f334e4bb430> = 'Processed: 195000 rows; Rate: 29372 rows/s; Avg. rate: 2029 rows/s'.startswith
E + and 'Processed: 200000 rows;' = <built-in method format of str object at 0x7f335d9d58f0>(200000)
E + where <built-in method format of str object at 0x7f335d9d58f0> = 'Processed: {} rows;'.format

cqlsh_tests/test_cqlsh_copy.py:2111: AssertionError
143.848
test_empty_vs_gcable_sequential_repairSuccess138.252
Properties »