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

Mikhail Petrov updated IGNITE-29378:
------------------------------------
    Summary: InvokeTest is flaky  (was: InvokeTest.testAsyncExceptionHandling 
is flaky)

> InvokeTest is flaky
> -------------------
>
>                 Key: IGNITE-29378
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29378
>             Project: Ignite
>          Issue Type: Test
>            Reporter: Mikhail Petrov
>            Assignee: Mikhail Petrov
>            Priority: Major
>             Fix For: 2.20
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> See for more details - 
> https://ci2.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=6413256238054256523&tab=testDetails
> The root cause - 
> The tests share one cache name, default. Each test creates the cache in 
> beforeTest and destroys it in afterTest.
> 1. client.destroyCache returns when the node that handled the request 
> finishes the destroy exchange. The other nodes finish a few ms later. 
> 2. The next test's getOrCreateCache can land on a node that hasn't finished 
> cache destroy yet. So IgniteKernal#getOrCreateCache0 returns the existing 
> cache.
> 3. The node then stops the old cache. So the first request gets "Cache does 
> not exist". The afterTest destroy fails with the same message.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to