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

Vyacheslav Koptilin updated IGNITE-24881:
-----------------------------------------
    Labels: ignite-3  (was: )

> ItTableScanTest.testScanWithUpperBound is flaky
> -----------------------------------------------
>
>                 Key: IGNITE-24881
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24881
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexander Lapin
>            Assignee:  Kirill Sizov
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Aforementioned test may fail with
> {code:java}
> java.lang.AssertionError: Exception has not been thrown.  at 
> org.apache.ignite.internal.testframework.IgniteTestUtils.assertThrowsWithCode(IgniteTestUtils.java:320)
>   at 
> org.apache.ignite.internal.table.ItTableScanTest.testScanWithUpperBound(ItTableScanTest.java:630)
>  {code}
> on
> {code:java}
> IgniteTestUtils.assertThrowsWithCode(
>         TransactionException.class,
>         Transactions.ACQUIRE_LOCK_ERR,
>         () -> kvView.put(null, Tuple.create().set("key", 9), 
> Tuple.create().set("valInt", 9).set("valStr", "New_9")),
>         "Failed to acquire a lock due to a possible deadlock"); {code}
> [TC 
> link|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/8963724]
> Reproduced locally 1/10.
>  
> or sometimes fails with 
> {code:java}
> org.opentest4j.AssertionFailedError: expected: <3> but was: <0>  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.AssertEquals.failNotEqual(AssertEquals.java:197)  
> at 
> app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)  
> at 
> app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)  
> at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:531)  
> at 
> app//org.apache.ignite.internal.table.ItTableScanTest.testScanWithUpperBound(ItTableScanTest.java:656)
>  {code}



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

Reply via email to