[ 
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 test does 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 (the test may be completed before the local 
fragment is added to the node).

  was:
The main problem is that testErrorOnCursorInitialization test does 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).


> Sql. Rework testErrorOnCursorInitialization test
> ------------------------------------------------
>
>                 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: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The main problem is that testErrorOnCursorInitialization test does 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 (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)

Reply via email to