[jira] [Commented] (IGNITE-21708) Catalog. CatalogManagerSelfTest::testPkAvailableIndexEvent is flaky.

2024-03-21 Thread Iurii Gerzhedovich (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-21708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17829541#comment-17829541
 ] 

Iurii Gerzhedovich commented on IGNITE-21708:
-

[~amashenkov]  LGTM

> Catalog. CatalogManagerSelfTest::testPkAvailableIndexEvent is flaky.
> 
>
> Key: IGNITE-21708
> URL: https://issues.apache.org/jira/browse/IGNITE-21708
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Reporter: Maksim Zhuravkov
>Assignee: Andrey Mashenkov
>Priority: Major
>  Labels: ignite-3
> Fix For: 3.0.0-beta2
>
>
> testPkAvailableIndexEvent fails at line assertThat(fireEventFuture, 
> willCompleteSuccessfully())
> Can be easily reproduced by running this test with repeat-until-failure 
> option in IDE.



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


[jira] [Commented] (IGNITE-21708) Catalog. CatalogManagerSelfTest::testPkAvailableIndexEvent is flaky.

2024-03-20 Thread Andrey Mashenkov (Jira)


[ 
https://issues.apache.org/jira/browse/IGNITE-21708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17828916#comment-17828916
 ] 

Andrey Mashenkov commented on IGNITE-21708:
---

The test fail because index can't be resolved by name from event listener using 
current time, 
because the catalog version (the event is related to)can be activated "in 
future".

So, the test must resolve index descriptor by indexId + catalog version, or 
must wait for finishing ddl command (activation time) before getting an index 
descriptor.

> Catalog. CatalogManagerSelfTest::testPkAvailableIndexEvent is flaky.
> 
>
> Key: IGNITE-21708
> URL: https://issues.apache.org/jira/browse/IGNITE-21708
> Project: Ignite
>  Issue Type: Bug
>  Components: sql
>Reporter: Maksim Zhuravkov
>Priority: Major
>  Labels: ignite-3
>
> testPkAvailableIndexEvent fails at line assertThat(fireEventFuture, 
> willCompleteSuccessfully())
> Can be easily reproduced by running this test with repeat-until-failure 
> option in IDE.



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