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

Andres de la Peña commented on CASSANDRA-16601:
-----------------------------------------------

Good idea, {{spinAssert}} can also do the trick more easily that waiting for 
the cleanup tasks, although perhaps it's less reusable than 
{{waitForSchemaCleanups}}. Anyway, I think both approaches assume that there 
aren't other tests running parallely in the same JVM, and we are still 
discussing in the mail list whether to remove that. I'm not sure whether we 
should add this test to the ones that don't work with parallel runners or use 
the slower but safer dtest approach.

> Flaky CassandraIndexTest
> ------------------------
>
>                 Key: CASSANDRA-16601
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16601
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-rc
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> See failure 
> [here|https://ci-cassandra.apache.org/job/Cassandra-trunk/436/testReport/junit/org.apache.cassandra.index.internal/CassandraIndexTest/indexCorrectlyMarkedAsBuildAndRemoved_cdc/]
> {noformat}
> Error Message
> expected:<1> but was:<0>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<1> but was:<0>
>       at 
> org.apache.cassandra.index.internal.CassandraIndexTest.indexCorrectlyMarkedAsBuildAndRemoved(CassandraIndexTest.java:588)
> {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to