Pavel Kovalenko created IGNITE-7750:
---------------------------------------

             Summary: testMultiThreadStatisticsEnable is flaky on TC
                 Key: IGNITE-7750
                 URL: https://issues.apache.org/jira/browse/IGNITE-7750
             Project: Ignite
          Issue Type: Bug
          Components: cache
            Reporter: Pavel Kovalenko
            Assignee: Pavel Kovalenko


{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