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

David Capwell commented on CASSANDRA-15685:
-------------------------------------------

For others, Ekaterina and I chatted offline.

The preview repair tests assert that previews did not report inconsistencies, 
but since it uses a AtomicBoolean to handle concurrent cases, and the default 
is false, it can lead to a false negative; if we don't see the notification 
then we wouldn't flip the boolean from false to true.  Every test asserts 
false, so it is not failing right now, but it also won't detect regressions.

The issue is also true in the nodetool case as it may not see the notification 
so isn't aware of the results.

Thanks Ekaterina for all the hard work! =D

> flaky testWithMismatchingPending - 
> org.apache.cassandra.distributed.test.PreviewRepairTest
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15685
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15685
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest
>            Reporter: Kevin Gallardo
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.0-alpha
>
>         Attachments: log-CASSANDRA-15685.txt, output
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Observed in: 
> https://app.circleci.com/pipelines/github/newkek/cassandra/34/workflows/1c6b157d-13c3-48a9-85fb-9fe8c153256b/jobs/191/tests
> Failure:
> {noformat}
> testWithMismatchingPending - 
> org.apache.cassandra.distributed.test.PreviewRepairTest
> junit.framework.AssertionFailedError
>       at 
> org.apache.cassandra.distributed.test.PreviewRepairTest.testWithMismatchingPending(PreviewRepairTest.java:97)
> {noformat}
> [Circle 
> CI|https://circleci.com/gh/dcapwell/cassandra/tree/bug%2FCASSANDRA-15685]



--
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