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

Mikhail Khludnev commented on SOLR-12070:
-----------------------------------------

testJMXOnCoreReload relies on "coreHashCode" mbean attribute,

{{ if 
(String.valueOf(h.getCore().hashCode()).equals(mbeanServer.getAttribute(bean.getObjectName(),
 "coreHashCode"))) {}}
{{ oldNumberOfObjects++;}}
{{ }}}

but if it print mbeans attrs I've got:

{{solr:dom1=core,dom2=collection1,category=QUERY,scope=/terms,name=shardRequests}}

> TestJMXIntegration.testJMXOnCoreReload always fails
> ---------------------------------------------------
>
>                 Key: SOLR-12070
>                 URL: https://issues.apache.org/jira/browse/SOLR-12070
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: master (8.0)
>            Reporter: Andrzej Bialecki 
>            Assignee: Andrzej Bialecki 
>            Priority: Major
>
> This test is marked @BadApple but the issue it refers to probably doesn't 
> apply anymore since the JMX integration has been substantially changed as a 
> part of the metrics refactoring.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to