[
https://issues.apache.org/jira/browse/IGNITE-23078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878551#comment-17878551
]
Pavel Pereslegin commented on IGNITE-23078:
-------------------------------------------
[~korlov], take a look at this small fix, please.
> Fix flaky test
> CatalogCompactionRunnerSelfTest.mustNotPerformWhenAssignmentNodeIsMissing
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-23078
> URL: https://issues.apache.org/jira/browse/IGNITE-23078
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Pavel Pereslegin
> Assignee: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
> Fix For: 3.0.0-beta2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Test fails with the following (reproduces locally):
> {code:java}
> java.lang.AssertionError:
> Expected: is <5>
> but: was <1>
> Expected :is <5>
> Actual :<1>
> <Click to see difference>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
> at
> org.apache.ignite.internal.catalog.compaction.CatalogCompactionRunnerSelfTest.mustNotPerformWhenAssignmentNodeIsMissing(CatalogCompactionRunnerSelfTest.java:447)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> {code}
> See
> https://ci.ignite.apache.org/viewLog.html?buildId=8428446&tab=buildResultsDiv&buildTypeId=ApacheIgnite3xGradle_Test_RunUnitTests_virtual_Batch_3_1#testNameId-2776474029566024508
> *Update*
> Must be fixed in IGNITE-22637
--
This message was sent by Atlassian Jira
(v8.20.10#820010)