[
https://issues.apache.org/jira/browse/CASSANDRA-17882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602563#comment-17602563
]
Ekaterina Dimitrova edited comment on CASSANDRA-17882 at 9/9/22 9:41 PM:
-------------------------------------------------------------------------
While looking into this I saw that for some tests we were adding also
additional try-catch block and error message to ask people to raise the TTL.
(added initially for CASSANDRA-17605)
Even if the long sleeps weren't many and becoming an issue so far I figured
that it is better to take the precaution so we don't have to revise this suite
again soon for timeouts.
For consistency and because this is a good idea, I added it here too.
I also checked the other places where we use update_time with TTL and similar
sleeps, there was only one sleep of 5 seconds and I figured that it is a too
small one to deal with it. I ended up updating only the test in question. The
additional changes are added in
[this|https://github.com/ekaterinadimitrova2/cassandra-dtest/commit/625e342f44de1097f007da07b7c92166bcdff205]
commit. I will post Circle CI runs soon.
was (Author: e.dimitrova):
While looking into this I saw that for some tests we were adding also
additional try-catch block and error message to ask people to raise the TTL.
(added initially for CASSANDRA-17605)
For consistency and because this is a good idea, I added it here too.
I also checked the other places where we use update_time with TTL and similar
sleeps, there was only one sleep of 5 seconds and I figured that it is a too
small one to deal with it. I ended up updating only the test in question. The
additional changes are added in
[this|https://github.com/ekaterinadimitrova2/cassandra-dtest/commit/625e342f44de1097f007da07b7c92166bcdff205]
commit. I will post Circle CI runs soon.
> 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]