You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2024/01/05 08:19:00 UTC

[jira] [Created] (IGNITE-21203) flaky org.apache.ignite.internal.sql.api.ItSqlAsynchronousApiTest.closeSession

Yury Gerzhedovich created IGNITE-21203:
------------------------------------------

             Summary: flaky org.apache.ignite.internal.sql.api.ItSqlAsynchronousApiTest.closeSession
                 Key: IGNITE-21203
                 URL: https://issues.apache.org/jira/browse/IGNITE-21203
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Yury Gerzhedovich


The test org.apache.ignite.internal.sql.api.ItSqlAsynchronousApiTest.closeSession is flacky due to org.apache.ignite.internal.sql.api.SessionImpl#close  relies on the fact that the returned CompletableFuture will be complited only after all resources have been closed. However, org.apache.ignite.internal.sql.api.SessionImpl#closeAsync returns a always ready facke CompletableFuture.
The closeInternal() method needs to be slightly reworked to return a real CompletableFuture and start using the return value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)