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/11/25 09:39:00 UTC

[jira] [Commented] (CASSANDRA-17169) Flaky RecomputingSupplierTest

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

Berenguer Blasi commented on CASSANDRA-17169:
---------------------------------------------

Can be repro'ed with the {{RepeatableRunner}} locally. The problem the premature shutdown of a thread pool as {{RecomputingSupplier}} might needed it. I amended a few other nits in the test as well. Now it survives 10K local runs and 1K runs in circle. If we +1 4.0 I'll push the trunk PR.

> Flaky RecomputingSupplierTest
> -----------------------------
>
>                 Key: CASSANDRA-17169
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17169
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Berenguer Blasi
>            Assignee: Berenguer Blasi
>            Priority: Normal
>             Fix For: 4.0.x, 4.x
>
>
> See https://ci-cassandra.apache.org/job/Cassandra-4.0/293/testReport/junit/org.apache.cassandra.utils/RecomputingSupplierTest/recomputingSupplierTest/
> {noformat}
> java.util.concurrent.TimeoutException
> 	at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
> 	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
> 	at org.apache.cassandra.utils.RecomputingSupplier.get(RecomputingSupplier.java:110)
> 	at org.apache.cassandra.utils.RecomputingSupplierTest.recomputingSupplierTest(RecomputingSupplierTest.java:120)
> 	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)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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