Name | Status | Type | Time(s) |
test_exclusive_slice | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:521: test not applicable to env. | 0.001 |
test_clustering_order_and_functions | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3038: test not applicable to env. | 0.000 |
test_noncomposite_static_cf | Success | | 62.986 |
test_clustering_indexing | Success | | 60.327 |
test_select_list_key_single_row | Skipped | awaiting CASSANDRA-7396
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5290: awaiting CASSANDRA-7396 | 0.001 |
test_collection_function | Skipped | 5.0 > 4.1
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 4.1 | 0.292 |
test_key_index_with_reverse_clustering | Success | | 64.347 |
test_refuse_in_with_indexes | Success | | 69.595 |
test_list_item_conditional | Success | | 63.811 |
test_composite_row_key | Success | | 156.373 |
test_static_columns_with_2i | Success | | 63.336 |
test_no_range_ghost | Success | | 138.312 |
test_column_name_validation | Success | | 63.074 |
test_order_by_validation | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:723: test not applicable to env. | 0.001 |
test_select_with_alias | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3240: test not applicable to env. | 0.000 |
test_limit_multiget | Success | | 56.773 |
test_conversion_functions | Success | | 55.433 |
test_deleted_row_select | Success | | 60.658 |
test_multi_in_compact_non_composite | Success | | 56.858 |
test_SIM_assertion_error | Success | | 58.857 |
test_batch_and_list | Success | | 56.558 |
test_map_item_conditional | Failure | TypeError: '<' not supported between instances of 'str' and 'int'
self = <abc.TestCQLNodes2RF1_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7ffb8f587e20>
@since('2.1')
def test_map_item_conditional(self):
cursor = self.prepare()
cursor.execute("""
CREATE TABLE tmap (
k int PRIMARY KEY,
m map<text, text>
)""")
cursor.execute("""
CREATE TABLE frozentmap (
k int PRIMARY KEY,
m frozen<map<text, text>>
)""")
for is_upgraded, cursor in self.do_upgrade(cursor):
logger.debug("Querying {} node".format("upgraded" if is_upgraded else "old"))
cursor.execute("TRUNCATE tmap")
cursor.execute("TRUNCATE frozentmap")
for frozen in (False, True):
table = "frozentmap" if frozen else "tmap"
assert_one(cursor, "INSERT INTO %s(k, m) VALUES (0, {'foo' : 'bar'}) IF NOT EXISTS" % (table,), [True])
assert_invalid(cursor, "DELETE FROM %s WHERE k=0 IF m[null] = 'foo'" % (table,))
assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = 'foo'" % (table,), [False, {'foo': 'bar'}])
assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = null" % (table,), [False, {'foo': 'bar'}])
assert_one(cursor, "SELECT * FROM %s" % (table,), [0, {'foo': 'bar'}], cl=ConsistencyLevel.SERIAL)
assert_one(cursor, "DELETE FROM %s WHERE k=0 IF m['foo'] = 'bar'" % (table,), [True])
assert_none(cursor, "SELECT * FROM %s" % (table,), cl=ConsistencyLevel.SERIAL)
> if self.get_node_version(is_upgraded) > "2.1.1":
upgrade_tests/cql_tests.py:4822:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
upgrade_tests/upgrade_base.py:227: in get_node_version
return max(node_versions) if is_upgraded else min(node_versions)
/usr/lib/python3.8/distutils/version.py:64: in __gt__
c = self._cmp(other)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = LooseVersion ('5.0-rc1'), other = LooseVersion ('5.0.1')
def _cmp (self, other):
if isinstance(other, str):
other = LooseVersion(other)
if self.version == other.version:
return 0
> if self.version < other.version:
E TypeError: '<' not supported between instances of 'str' and 'int'
/usr/lib/python3.8/distutils/version.py:337: TypeError | 52.755 |
test_no_clustering | Success | | 56.009 |
test_tuple_notation | Success | | 58.284 |
test_range_query_2ndary | Success | | 59.593 |
test_large_count | Success | | 68.654 |
test_nameless_index | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:868: test not applicable to env. | 0.000 |
test_select_distinct_with_deletions | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3414: test not applicable to env. | 0.000 |
test_with_less_results_than_page_size | Success | | 59.046 |
test_with_order_by_reversed | Success | | 62.063 |
test_basic_paging | Success | | 61.427 |
test_data_change_impacting_later_page | Success | | 62.061 |
test_ttl_deletions | Success | | 72.053 |
test_failure_threshold_deletions | Success | | 66.191 |
test_upgrade_with_range_tombstone_ae | Success | | 112.688 |
test_sstableloader_compression_snappy_to_none | Skipped | 5.0.1 > 4.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99 | 0.589 |
test_sparse_supercolumn_with_renames | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.580 |
test_bootstrap | Success | | 419.844 |