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

Maksim Zhuravkov updated IGNITE-23052:
--------------------------------------
    Description: 
{noformat}
        compactors.forEach(compactor -> {
            TimeHolder timeHolder = 
await(compactor.determineGlobalMinimumRequiredTime(topologyNodes, 0L));
            assertThat(timeHolder.minActiveTxBeginTime, 
is(tx1.startTimestamp().longValue()));
        });
{noformat}


{noformat}
java.lang.AssertionError: 
Expected: is <113027528011677701L>
     but: was <113027528011677696L>
Expected :is <113027528011677701L>
Actual   :<113027528011677696L>

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at 
org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.lambda$testGlobalMinimumTxBeginTime$0(ItCatalogCompactionTest.java:151)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.testGlobalMinimumTxBeginTime(ItCatalogCompactionTest.java:149)
        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)
{noformat}


  was:

{noformat}
        compactors.forEach(compactor -> {
            TimeHolder timeHolder = 
await(compactor.determineGlobalMinimumRequiredTime(topologyNodes, 0L));
            assertThat(timeHolder.minActiveTxBeginTime, 
is(tx1.startTimestamp().longValue()));
        });
{noformat}


{noformat}
java.lang.AssertionError: 
Expected: is <113005368105697281L>
     but: was <113005368105697280L>
Expected :is <113005368105697281L>
Actual   :<113005368105697280L>

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at 
org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.lambda$testGlobalMinimumTxBeginTime$2(ItCatalogCompactionTest.java:160)
        at java.base/java.lang.Iterable.forEach(Iterable.java:75)
        at 
org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.testGlobalMinimumTxBeginTime(ItCatalogCompactionTest.java:158)
        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)
{noformat}



> Sql. ItCatalogCompactionTest testGlobalMinimumTxBeginTime is flaky
> ------------------------------------------------------------------
>
>                 Key: IGNITE-23052
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23052
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Maksim Zhuravkov
>            Priority: Major
>              Labels: ignite-3
>
> {noformat}
>         compactors.forEach(compactor -> {
>             TimeHolder timeHolder = 
> await(compactor.determineGlobalMinimumRequiredTime(topologyNodes, 0L));
>             assertThat(timeHolder.minActiveTxBeginTime, 
> is(tx1.startTimestamp().longValue()));
>         });
> {noformat}
> {noformat}
> java.lang.AssertionError: 
> Expected: is <113027528011677701L>
>      but: was <113027528011677696L>
> Expected :is <113027528011677701L>
> Actual   :<113027528011677696L>
>       at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>       at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
>       at 
> org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.lambda$testGlobalMinimumTxBeginTime$0(ItCatalogCompactionTest.java:151)
>       at java.base/java.lang.Iterable.forEach(Iterable.java:75)
>       at 
> org.apache.ignite.internal.catalog.compaction.ItCatalogCompactionTest.testGlobalMinimumTxBeginTime(ItCatalogCompactionTest.java:149)
>       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)
> {noformat}



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

Reply via email to