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

[jira] [Assigned] (IGNITE-24047) Sql. CatalogCompactionRunnerSelfTest.rebalancePreventsCompaction test is flaky

     [ https://issues.apache.org/jira/browse/IGNITE-24047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Pereslegin reassigned IGNITE-24047:
-----------------------------------------

    Assignee: Pavel Pereslegin

> Sql. CatalogCompactionRunnerSelfTest.rebalancePreventsCompaction test is flaky
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-24047
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24047
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Pavel Pereslegin
>            Assignee: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>
> CatalogCompactionRunnerSelfTest.rebalancePreventsCompaction test is flaky: https://ci.ignite.apache.org/project.html?projectId=ApacheIgnite3xGradle_Test_RunUnitTests_virtual&buildTypeId=&tab=testDetails&testNameId=-5759498964182814756&order=TEST_STATUS_DESC&branch_ApacheIgnite3xGradle_Test_RunUnitTests_virtual=__all_branches__&itemsCount=50
> {noformat}
> java.lang.AssertionError: 
> Expected: is <2>
>      but: was <0>
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
> 	at org.apache.ignite.internal.catalog.compaction.CatalogCompactionRunnerSelfTest.rebalancePreventsCompaction(CatalogCompactionRunnerSelfTest.java:1039)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> {noformat}
> The problem is in the test itself - we need to conditionally wait until the versions map is truncated (similarly to other tests in this suite) 



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