[
https://issues.apache.org/jira/browse/CASSANDRA-17169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17449071#comment-17449071
]
Berenguer Blasi edited comment on CASSANDRA-17169 at 11/25/21, 9:38 AM:
------------------------------------------------------------------------
Can be repro'ed with the {{RepeatableRunner}} locally. The problem was 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.
was (Author: bereng):
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: [email protected]
For additional commands, e-mail: [email protected]