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)