You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Berenguer Blasi (Jira)" <ji...@apache.org> on 2021/03/19 08:53:00 UTC

[jira] [Commented] (CASSANDRA-16527) Flaky ValidationExecutorTest

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

Berenguer Blasi commented on CASSANDRA-16527:
---------------------------------------------

The problem was that the assert relied on a number which was an [approximation|https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html#getActiveCount--] of the value we needed. The fix is to either remove that assert or to poll the value. I chose the later for no particular reason and it passes locally now 10K runs whereas it would fail before.

> Flaky ValidationExecutorTest
> ----------------------------
>
>                 Key: CASSANDRA-16527
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16527
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0-rc
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Flaky ValidationExecutorTest see [here|https://ci-cassandra.apache.org/job/Cassandra-trunk/347/testReport/junit/org.apache.cassandra.db.compaction/ValidationExecutorTest/testQueueOnValidationSubmission_cdc/]



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