Name | Status | Type | Time(s) |
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 | | 65.927 |
test_conversion_functions | Success | | 58.843 |
test_deleted_row_select | Success | | 65.790 |
test_multi_in_compact_non_composite | Success | | 64.034 |
test_SIM_assertion_error | Success | | 63.097 |
test_batch_and_list | Success | | 68.290 |
test_map_item_conditional | Failure | TypeError: '<' not supported between instances of 'str' and 'int'
self = <abc.TestCQLNodes3RF3_Upgrade_current_5_0_x_To_indev_5_0_x object at 0x7fd5e48a0a60>
@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 | 58.271 |
test_no_clustering | Success | | 156.490 |
test_tuple_notation | Success | | 61.504 |
test_range_query_2ndary | Success | | 136.547 |
test_large_count | Success | | 76.563 |
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_indexed_with_eq | Success | | 56.636 |
test_empty_blob | Success | | 55.636 |
test_static_cf | Success | | 57.866 |
test_compact_metadata | Success | | 58.712 |
test_select_map_key_single_row | Skipped | awaiting CASSANDRA-7396
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:5231: awaiting CASSANDRA-7396 | 0.001 |
test_multi_list_set | Success | | 59.151 |
test_static_with_empty_clustering | Success | | 58.632 |
test_remove_range_slice | Success | | 60.554 |
test_cas_and_compact | Success | | 58.344 |
test_multi_collection | Success | | 60.249 |
test_static_columns | Success | | 60.694 |
test_token_range | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:1004: test not applicable to env. | 0.000 |
test_store_sets_with_if_not_exists | Skipped | test not applicable to env.
/home/cassandra/cassandra-dtest/upgrade_tests/cql_tests.py:3501: test not applicable to env. | 0.000 |
test_with_no_results | Success | | 63.264 |
test_with_order_by_reversed | Success | | 65.104 |
test_paging_using_secondary_indexes | Success | | 67.095 |
test_data_change_impacting_later_page | Success | | 64.696 |
test_single_row_deletions | Success | | 72.131 |
test_single_cell_deletions | Success | | 70.570 |
test_sstableloader_compression_snappy_to_none | Skipped | 5.0.1 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 3.99 | 0.975 |
test_sstableloader_compression_deflate_to_snappy | Skipped | 5.0.1 > 4.99
/home/cassandra/cassandra-dtest/conftest.py:468: 5.0.1 > 4.99 | 0.667 |
test_sparse_supercolumn_with_renames | Skipped | 5.0 > 3.99
/home/cassandra/cassandra-dtest/conftest.py:449: 5.0 > 3.99 | 0.642 |
test_parallel_upgrade_with_internode_ssl | Success | | 314.373 |