[
https://issues.apache.org/jira/browse/IGNITE-17031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Taras Ledkov resolved IGNITE-17031.
-----------------------------------
Resolution: Fixed
Merged to
[main|https://github.com/apache/ignite-3/commit/d9d7ba2c5132584d8eca77bee76f159364fd58b1]
> Stabilize the test StopCalciteModuleTest#testStopQueryOnNodeStop
> ----------------------------------------------------------------
>
> Key: IGNITE-17031
> URL: https://issues.apache.org/jira/browse/IGNITE-17031
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 3.0.0-alpha4
> Reporter: Taras Ledkov
> Assignee: Taras Ledkov
> Priority: Major
> Fix For: 3.0.0-alpha5
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The test is periodically fails with error
> {code}
> org.opentest4j.AssertionFailedError: Unexpected type ==> expected:
> <org.apache.ignite.internal.sql.engine.exec.ExecutionCancelledException> but
> was: <java.util.concurrent.RejectedExecutionException>
> at
> org.junit.jupiter.api.AssertInstanceOf.assertInstanceOf(AssertInstanceOf.java:51)
> at
> org.junit.jupiter.api.AssertInstanceOf.assertInstanceOf(AssertInstanceOf.java:35)
> at
> org.junit.jupiter.api.Assertions.assertInstanceOf(Assertions.java:3539)
> at
> org.apache.ignite.internal.sql.engine.StopCalciteModuleTest.lambda$testStopQueryOnNodeStop$7(StopCalciteModuleTest.java:231)
> at
> java.base/java.util.concurrent.CompletableFuture.uniExceptionally(CompletableFuture.java:986)
> at
> java.base/java.util.concurrent.CompletableFuture.uniExceptionallyStage(CompletableFuture.java:1004)
> at
> java.base/java.util.concurrent.CompletableFuture.exceptionally(CompletableFuture.java:2307)
> at
> org.apache.ignite.internal.sql.engine.StopCalciteModuleTest.testStopQueryOnNodeStop(StopCalciteModuleTest.java:228)
> ...
> {code}
> *Root cause*:
> {{ExecutionServiceImpl#stop}} doesn't await of the end of asynchronous close
> query cursors.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)