You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mikhail Khludnev (JIRA)" <ji...@apache.org> on 2018/03/11 20:37:00 UTC

[jira] [Commented] (SOLR-12070) TestJMXIntegration.testJMXOnCoreReload always fails

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org