[ https://issues.apache.org/jira/browse/IGNITE-9005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16546716#comment-16546716 ]
ASF GitHub Bot commented on IGNITE-9005: ---------------------------------------- GitHub user slukyano opened a pull request: https://github.com/apache/ignite/pull/4374 IGNITE-9005: Fixed initialization order. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gridgain/apache-ignite ignite-9005 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/ignite/pull/4374.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 #4374 ---- commit a8b591a5a9b39ba86a79e8a10aaaba6dc1cba69f Author: Stanislav Lukyanov <stanlukyanov@...> Date: 2018-07-17T14:12:26Z IGNITE-9005: Fixed initialization order. ---- > Eviction policy MBeans change failed LifecycleAwareTest on cache name > injectoin > ------------------------------------------------------------------------------- > > Key: IGNITE-9005 > URL: https://issues.apache.org/jira/browse/IGNITE-9005 > Project: Ignite > Issue Type: Test > Reporter: Dmitriy Pavlov > Assignee: Stanislav Lukyanov > Priority: Major > Labels: MakeTeamcityGreenAgain > Fix For: 2.7 > > > http://apache-ignite-developers.2346864.n4.nabble.com/MTCGA-new-failures-in-builds-1485687-needs-to-be-handled-td32531.html > New test failure detected > https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=7246907407546697403&branch=%3Cdefault%3E&tab=testDetails > after merging > IGNITE-8776 Eviction policy MBeans are never registered if > evictionPolicyFactory is used > Revert of commit makes test passing. > Locally test also failed. Failed with message > {noformat} > Unexpected cache name for > org.apache.ignite.internal.processors.cache.GridCacheLifecycleAwareSelfTest$TestEvictionPolicy@322714f4 > expected:<cache> but was:<null> > {noformat} > Message of failure seems to be related to TestEvictionPolicy instance from > test class. > Seems that returing call to cctx.kernalContext (). resource (). > injectCacheName (rsrc, cfg.getName ()); should fix issue. -- This message was sent by Atlassian JIRA (v7.6.3#76005)