Unit Test Results.

Designed for use with JUnit and Ant.

Class dtest-latest_jdk11_python3.8_cythonno_x86_64_22_64

NameTestsErrorsFailuresSkippedTime(s)Time StampHost
8_cythonno_x86_64_22_6417014714.1482024-09-19T00:08:01.600375dadbc6acd4af

Failures

NameStatusTypeTime(s)
test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitionsFailureAssertionError: Expected nothing from SELECT * FROM t WHERE k1 = 0 LIMIT 1, but got [[0, 1, 10, 100]]

self = <replica_side_filtering_test.TestSecondaryIndexes object at 0x7f228f035eb0>

def test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions(self):
self._skip_if_filtering_partition_columns_is_not_supported()
self._prepare_cluster(
create_table="CREATE TABLE t (k1 int, k2 int, c int, s int STATIC, PRIMARY KEY ((k1, k2), c))",
create_index="CREATE INDEX ON t(k1)",
both_nodes=["INSERT INTO t (k1, k2, c, s) VALUES (0, 1, 10, 100)",
"INSERT INTO t (k1, k2, c, s) VALUES (0, 2, 20, 200)"],
only_node1=["DELETE FROM t WHERE k1 = 0 AND k2 = 1"],
only_node2=["DELETE FROM t WHERE k1 = 0 AND k2 = 2"])

> self._assert_none("SELECT * FROM t WHERE k1 = 0 LIMIT 1")

replica_side_filtering_test.py:202:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
replica_side_filtering_test.py:81: in _assert_none
assert_none(self.session, decorated_query)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

session = <cassandra.cluster.Session object at 0x7f228c2d7430>
query = 'SELECT * FROM t WHERE k1 = 0 LIMIT 1', cl = None

def assert_none(session, query, cl=None):
"""
Assert query returns nothing
@param session Session to use
@param query Query to run
@param cl Optional Consistency Level setting. Default ONE

Examples:
assert_none(self.session1, "SELECT * FROM test where key=2;")
assert_none(cursor, "SELECT * FROM test WHERE k=2", cl=ConsistencyLevel.SERIAL)
"""
simple_query = SimpleStatement(query, consistency_level=cl)
res = session.execute(simple_query)
list_res = _rows_to_list(res)
> assert list_res == [], "Expected nothing from {}, but got {}".format(query, list_res)
E AssertionError: Expected nothing from SELECT * FROM t WHERE k1 = 0 LIMIT 1, but got [[0, 1, 10, 100]]

tools/assertions.py:149: AssertionError
78.672
Properties »