[
https://issues.apache.org/jira/browse/IGNITE-23865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Pereslegin updated IGNITE-23865:
--------------------------------------
Description:
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).
was:
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 are trying to
receive local fragments at the right time (in failed case, the test may be
completed before the local fragment is added to the node).
> 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
> Priority: Minor
> Labels: ignite-3
>
> 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)