[ 
https://issues.apache.org/jira/browse/CASSANDRA-15565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe updated CASSANDRA-15565:
----------------------------------------
          Fix Version/s: 3.11.7
                         3.0.21
          Since Version: 3.0.0
    Source Control Link: 
https://github.com/apache/cassandra/commit/c81d7dcc09fa1c35f190f0baad764fbe8a024679
             Resolution: Fixed
                 Status: Resolved  (was: Ready to Commit)

Thanks, looks good to me. I've made a small addition to your patch to verify 
that when dropped, the index is removed from the built indexes table. From the 
name, it seemed like that should've been part of the test all along. I've 
committed to 3.0 and merged to 3.11 & trunk.

> Fix flaky test org.apache.cassandra.index.internal.CassandraIndexTest 
> indexCorrectlyMarkedAsBuildAndRemoved
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15565
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15565
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: David Capwell
>            Assignee: Jorge Bay
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 3.0.21, 3.11.7, 4.0-alpha
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> junit.framework.AssertionFailedError: Got more rows than expected. Expected 1 
> but got 4.
>       at org.apache.cassandra.cql3.CQLTester.assertRows(CQLTester.java:1098)
>       at 
> org.apache.cassandra.index.internal.CassandraIndexTest.indexCorrectlyMarkedAsBuildAndRemoved(CassandraIndexTest.java:499)
>       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}
> The failure was seen on java 11.



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

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

Reply via email to