[ https://issues.apache.org/jira/browse/CASSANDRA-14148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paulo Motta updated CASSANDRA-14148: ------------------------------------ Status: Ready to Commit (was: Patch Available) > test_no_base_column_in_view_pk_complex_timestamp_with_flush - > materialized_views_test.TestMaterializedViews frequently fails in CI > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: CASSANDRA-14148 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14148 > Project: Cassandra > Issue Type: Bug > Components: Testing > Reporter: Michael Kjellman > Assignee: Marcus Eriksson > Priority: Major > > test_no_base_column_in_view_pk_complex_timestamp_with_flush - > materialized_views_test.TestMaterializedViews frequently fails in CI > self = <materialized_views_test.TestMaterializedViews object at > 0x7f849b25cf60> > @since('3.0') > def test_no_base_column_in_view_pk_complex_timestamp_with_flush(self): > > self._test_no_base_column_in_view_pk_complex_timestamp(flush=True) > materialized_views_test.py:970: > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > materialized_views_test.py:1066: in > _test_no_base_column_in_view_pk_complex_timestamp > assert_one(session, "SELECT * FROM t", [1, 1, None, None, None, 1]) > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > _ > session = <cassandra.cluster.Session object at 0x7f849b379390> > query = 'SELECT * FROM t', expected = [1, 1, None, None, None, 1], cl = None > def assert_one(session, query, expected, cl=None): > """ > Assert query returns one row. > @param session Session to use > @param query Query to run > @param expected Expected results from query > @param cl Optional Consistency Level setting. Default ONE > > Examples: > assert_one(session, "LIST USERS", ['cassandra', True]) > assert_one(session, query, [0, 0]) > """ > simple_query = SimpleStatement(query, consistency_level=cl) > res = session.execute(simple_query) > list_res = _rows_to_list(res) > > assert list_res == [expected], "Expected {} from {}, but got > > {}".format([expected], query, list_res) > E AssertionError: Expected [[1, 1, None, None, None, 1]] from SELECT * > FROM t, but got [] -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org