[
https://issues.apache.org/jira/browse/FLINK-38908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-38908:
-----------------------------------
Labels: pull-request-available (was: )
> ExecutionPartitionLifecycleTest fails intermittently
> ----------------------------------------------------
>
> Key: FLINK-38908
> URL: https://issues.apache.org/jira/browse/FLINK-38908
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Reporter: Mate Czagany
> Priority: Major
> Labels: pull-request-available
>
> Test `ExecutionPartitionLifecycleTest` fails sometimes due to not calling the
> Scheduler from the main thread
>
> {code:java}
> [ERROR]
> org.apache.flink.runtime.executiongraph.ExecutionPartitionLifecycleTest.testPartitionTrackedAndNotReleasedWhenFinished
> -- Time elapsed: 0.025 s <<< FAILURE!
> java.lang.AssertionError:Expecting
> <CompletableFuture[Completed:
> [7ca98a3a3dca8a54018d94b6aaad3656#0@f56aeee41ee7ddf12953205f8a7a0fdc_40f8a68acfd720e9e670058a09739fe0_0_0]]>
> not to be done.
> Be aware that the state of the future in this message might not reflect the
> one at the time when the assertion was performed as it is evaluated later on
> at
> org.apache.flink.runtime.executiongraph.ExecutionPartitionLifecycleTest.testPartitionTrackingForStateTransition(ExecutionPartitionLifecycleTest.java:229)
> at
> org.apache.flink.runtime.executiongraph.ExecutionPartitionLifecycleTest.testPartitionTrackedAndNotReleasedWhenFinished(ExecutionPartitionLifecycleTest.java:147)
> at java.base/java.lang.reflect.Method.invoke(Method.java:569)
> at
> java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
> at
> java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
> at
> java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
> at
> java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
> at
> java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)