[
https://issues.apache.org/jira/browse/IGNITE-17585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17598410#comment-17598410
]
Yury Gerzhedovich commented on IGNITE-17585:
--------------------------------------------
Tests was unstable due to session expiration period just 1 ms and periodically
GC consume the timeand query doesn't start. The second potential issue of the
test using Thread.sleep itself instead of waitForCondition. To fix the second
part has been inroduced ability retrieve information about live sessions, which
will be usefull for future functionality like a VIEW with a active sessions.
> flaky ItCommonApiTest.testSessionExpiration
> -------------------------------------------
>
> Key: IGNITE-17585
> URL: https://issues.apache.org/jira/browse/IGNITE-17585
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Yury Gerzhedovich
> Assignee: Yury Gerzhedovich
> Priority: Major
> Labels: ignite-3
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> The test ItCommonApiTest.testSessionExpiration is flaky. Let's fix it.
> https://ci.ignite.apache.org/test/-6167055026598275943?currentProjectId=ignite3_Test_IntegrationTests&branch=%3Cdefault%3E
> {code:java}
> org.apache.ignite.lang.IgniteExceptionorg.apache.ignite.lang.IgniteException:
> IGN-CMN-65535 TraceId:336fba3d-323a-4107-8ec1-a31ecfe6cfec IGN-CMN-65535
> TraceId:336fba3d-323a-4107-8ec1-a31ecfe6cfec IGN-CMN-65535
> TraceId:a7e3c0ff-7642-410c-8caa-8790d6ed7c6f at
> org.apache.ignite.internal.sql.api.ItCommonApiTest.testSessionExpiration(ItCommonApiTest.java:68)Caused
> by: org.apache.ignite.lang.IgniteException: IGN-CMN-65535
> TraceId:336fba3d-323a-4107-8ec1-a31ecfe6cfec IGN-CMN-65535
> TraceId:a7e3c0ff-7642-410c-8caa-8790d6ed7c6fCaused by:
> org.apache.ignite.internal.sql.engine.exec.ExecutionCancelledException:
> IGN-CMN-65535 TraceId:a7e3c0ff-7642-410c-8caa-8790d6ed7c6f {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)