[ 
https://issues.apache.org/jira/browse/IGNITE-7750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16372576#comment-16372576
 ] 

ASF GitHub Bot commented on IGNITE-7750:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/3541


> testMultiThreadStatisticsEnable is flaky on TC
> ----------------------------------------------
>
>                 Key: IGNITE-7750
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7750
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.5
>            Reporter: Pavel Kovalenko
>            Assignee: Alexey Goncharuk
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.5
>
>
> {code:java}
> class org.apache.ignite.IgniteException: Cache not found [cacheName=cache2]
>     at 
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:985)
>     at 
> org.apache.ignite.internal.cluster.IgniteClusterImpl.enableStatistics(IgniteClusterImpl.java:497)
>     at 
> org.apache.ignite.internal.processors.cache.CacheMetricsEnableRuntimeTest$3.run(CacheMetricsEnableRuntimeTest.java:181)
>     at 
> org.apache.ignite.testframework.GridTestUtils$9.call(GridTestUtils.java:1275)
>     at 
> org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> Caused by: class org.apache.ignite.IgniteCheckedException: Cache not found 
> [cacheName=cache2]
>     at 
> org.apache.ignite.internal.processors.cache.GridCacheProcessor.enableStatistics(GridCacheProcessor.java:4227)
>     at 
> org.apache.ignite.internal.cluster.IgniteClusterImpl.enableStatistics(IgniteClusterImpl.java:494)
>     ... 3 more
> {code}
> The problem of the test:
> 1) We don't wait for exchange future completion after "cache2" is started and 
> it may lead to NullPointerException when we try to obtain reference to 
> "cache2" on the node which doesn't complete exchange future and initialize 
> cache proxy.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to