You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ekaterina Dimitrova (Jira)" <ji...@apache.org> on 2020/02/11 14:17:00 UTC

[jira] [Commented] (CASSANDRA-15528) Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testInvalidate

    [ https://issues.apache.org/jira/browse/CASSANDRA-15528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034480#comment-17034480 ] 

Ekaterina Dimitrova commented on CASSANDRA-15528:
-------------------------------------------------

[~dcapwell] Same for this one, dependent on  CASSANDRA-15526

(You reproduce it in case the other one fails and for me only the other one fails, only on Ubuntu VM so ),

I am gonna put this one for now as blocked by the other one until we come up with solution there. Then we can check whether our assumption for dependency is valid. About CASSANDRA-15526, I didn't find any other issue than the one mentioned already by [~jrwest]

As per the Java doc:

"Beware that, unlike in most collections, the {{size}} method is _not_ a constant-time operation. Because of the asynchronous nature of these sets, determining the current number of elements requires a traversal of the elements, and so may report inaccurate results if this collection is modified during traversal."

Probably we will need to find a more reliable test. TBD

 

> Fix flakey test - org.apache.cassandra.index.sasi.SASIIndexTest testInvalidate
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15528
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15528
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: David Capwell
>            Priority: Normal
>             Fix For: 4.0-alpha
>
>
> {code}
> junit.framework.AssertionFailedError: [key0, key2918, key2919, key2920, key2921, key2922, key2924, key2926, key2927, key2928]
> 	at org.apache.cassandra.index.sasi.SASIIndexTest.testInvalidate(SASIIndexTest.java:874)
> 	at org.apache.cassandra.index.sasi.SASIIndexTest.testInvalidate(SASIIndexTest.java:852)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org