You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/19 11:51:00 UTC

[jira] [Commented] (IGNITE-7750) testMultiThreadStatisticsEnable is flaky on TC

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

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

GitHub user Jokser opened a pull request:

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

    IGNITE-7750 Fixed testMultiThreadStatisticsEnable test.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7750

Alternatively you can review and apply these changes as the patch at:

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

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3541
    
----
commit 1418eb9659f10831621426beefe2a4f8978b63a5
Author: Pavel Kovalenko <jo...@...>
Date:   2018-02-19T11:47:37Z

    IGNITE-7750 Fixed testMultiThreadStatisticsEnable test.

----


> 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
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> {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)