[
https://issues.apache.org/jira/browse/CASSANDRA-17882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602461#comment-17602461
]
Andres de la Peña edited comment on CASSANDRA-17882 at 9/9/22 4:28 PM:
-----------------------------------------------------------------------
I'd say that the sleeps that are right after the modified lines
([here|https://github.com/ekaterinadimitrova2/cassandra-dtest/blob/364081c7fe40daf32ccd2818cd7ecdf7e79e0db2/materialized_views_test.py#L1544]
and
[here|https://github.com/ekaterinadimitrova2/cassandra-dtest/blob/364081c7fe40daf32ccd2818cd7ecdf7e79e0db2/materialized_views_test.py#L1551])
where meant to let the TTL'ed columns expire before proceeding with the next
check. If that's right, increasing the ttls without increasing the sleep would
change the meaning of the test, I think.
was (Author: adelapena):
I'd say that the sleeps that are right after the modified lines
([here|https://github.com/ekaterinadimitrova2/cassandra-dtest/blob/364081c7fe40daf32ccd2818cd7ecdf7e79e0db2/materialized_views_test.py#L1544]
and
[here|https://github.com/ekaterinadimitrova2/cassandra-dtest/blob/364081c7fe40daf32ccd2818cd7ecdf7e79e0db2/materialized_views_test.py#L1551])
where meant to let the TTLed column expire before proceeding with the next
check. If that's right, increasing the ttls without increasing the sleep would
change the meaning of the test, I think.
> Fix flaky test_no_base_column_in_view_pk_complex_timestamp_with_flush
> ---------------------------------------------------------------------
>
> Key: CASSANDRA-17882
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17882
> Project: Cassandra
> Issue Type: Bug
> Components: CI
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
>
> It seems flaky lately on 4.1 per Butler:
> [https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-4.1/failure/materialized_views_test/TestMaterializedViews/test_no_base_column_in_view_pk_complex_timestamp_with_flush]
> I was not able to reproduce it on 4.0 and 4.1 in Circle.
> h3.
> {code:java}
> Error Message
> AssertionError: Expected [[1, 1, 1, None, None, None]] from SELECT * FROM t,
> but got []
> Stacktrace
> self = <materialized_views_test.TestMaterializedViews object at
> 0x7fc5fb98a880> @flaky @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:1451: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ materialized_views_test.py:1541: in
> _test_no_base_column_in_view_pk_complex_timestamp assert_one(session, "SELECT
> * FROM t", [1, 1, 1, None, None, None]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]