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

Marcus Eriksson updated CASSANDRA-15552:
----------------------------------------
    Test and Documentation Plan: cci run
                         Status: Patch Available  (was: Open)

We use {{Futures.allAsList}} 
[here|https://github.com/apache/cassandra/blob/219d209651759cf702519a100c4f43595f7be8d7/src/java/org/apache/cassandra/db/repair/PendingAntiCompaction.java#L307]
 which will fail immediately when any of the input futures fails, without 
waiting for the others, patch to just wait for the compactions to get 
cancelled: https://github.com/krummas/cassandra/commits/marcuse/15552

tests: https://circleci.com/workflow-run/c4eaae15-6f73-44f6-8b5f-dbade70c315d

> Fix flaky test 
> org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest.testExceptionAnticompaction
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15552
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15552
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: David Capwell
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-alpha
>
>
> {code}
> junit.framework.AssertionFailedError
>       at 
> org.apache.cassandra.db.repair.PendingAntiCompactionBytemanTest.testExceptionAnticompaction(PendingAntiCompactionBytemanTest.java:80)
>       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)
>       at 
> org.jboss.byteman.contrib.bmunit.BMUnitRunner$9.evaluate(BMUnitRunner.java:364)
>       at 
> org.jboss.byteman.contrib.bmunit.BMUnitRunner$6.evaluate(BMUnitRunner.java:263)
>       at 
> org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:97)
> {code}
> Failure was 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