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

Vladislav Pyatkov updated IGNITE-23715:
---------------------------------------
    Reviewer: Roman Puchkovskiy

> CatalogTableTest#testDropTable and CatalogZoneTest#testDropZone are unreliable
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-23715
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23715
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> h3. Motivation
> The tests recently failed on TC:
> {noformat:title=testDropTable }
> org.opentest4j.AssertionFailedError: expected: <CatalogSchemaDescriptor 
> [super=CatalogObjectDescriptor [id=1, name=PUBLIC, type=SCHEMA, 
> updateToken=2]]> but was: <CatalogSchemaDescriptor 
> [super=CatalogObjectDescriptor [id=1, name=PUBLIC, type=SCHEMA, 
> updateToken=3]]>
>   at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
>   at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>   at app//org.junit.jupiter.api.AssertSame.failNotSame(AssertSame.java:50)
>   at app//org.junit.jupiter.api.AssertSame.assertSame(AssertSame.java:35)
>   at app//org.junit.jupiter.api.AssertSame.assertSame(AssertSame.java:30)
>   at app//org.junit.jupiter.api.Assertions.assertSame(Assertions.java:2860)
>   at 
> app//org.apache.ignite.internal.catalog.CatalogTableTest.testDropTable(CatalogTableTest.java:244)
> {noformat}
> {noformat:title=testDropZone}
> org.opentest4j.AssertionFailedError: expected: not <null>
>   at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
>   at 
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
>   at app//org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
>   at 
> app//org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
>   at 
> app//org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:30)
>   at app//org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:304)
>   at 
> app//org.apache.ignite.internal.catalog.CatalogZoneTest.testDropZone(CatalogZoneTest.java:198)
> {noformat}
> The reason for it is that the standalone metasorege is using a didecate clock 
> instance (destiguished from the entire test {{BaseCatalogManagerTest#clock}}).
> {code:java}
> metastore = StandaloneMetaStorageManager.create(NODE_NAME);
> {code}
> h3. Definition of done
> * The meta storage has to use the same instance of the hybrid clock as the 
> entire test.
> * The tests become stable.



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

Reply via email to