[
https://issues.apache.org/jira/browse/IGNITE-23865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin reassigned IGNITE-23865:
-----------------------------------------
Assignee: Pavel Pereslegin
> Sql. Rework testErrorOnCursorInitialization and
> testErrorOnContextInitialization tests
> --------------------------------------------------------------------------------------
>
> Key: IGNITE-23865
> URL: https://issues.apache.org/jira/browse/IGNITE-23865
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Assignee: Pavel Pereslegin
> Priority: Minor
> Labels: ignite-3
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The main problem is that testErrorOnCursorInitialization and
> testErrorOnContextInitialization do no meaningful checks and do not wait for
> the query to actually complete.
> The test scenario (in
> {{ExecutionServiceImplTest.testErrorOnCursorInitialization}}) is that we
> execute the plan and expect that we will get local fragments from the nodes,
> which should then be closed.
> However, in the test there is currently no guarantee that we get local
> fragments at the right time (in failed case, the test may be completed before
> the local fragment is added to the node).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)