Christine Poerschke created SOLR-13518:
------------------------------------------

             Summary: improve SolrInfoBeanTest.testCallMBeanInfo debuggability
                 Key: SOLR-13518
                 URL: https://issues.apache.org/jira/browse/SOLR-13518
             Project: Solr
          Issue Type: Task
            Reporter: Christine Poerschke
            Assignee: Christine Poerschke


Today 
https://builds.apache.org/job/PreCommit-SOLR-Build/407/testReport/org.apache.solr/SolrInfoBeanTest/testCallMBeanInfo/
 reported

{code}
java.lang.AssertionError
        at 
__randomizedtesting.SeedInfo.seed([D2ED2D454B87B637:2D8BA07920FFCB29]:0)
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:712)
        at org.junit.Assert.assertNotNull(Assert.java:722)
        at 
org.apache.solr.SolrInfoBeanTest.testCallMBeanInfo(SolrInfoBeanTest.java:73)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        ...
{code}
and since the test runs logic for multiple classes it would be nice to include 
e.g. the class name info in the assert itself.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to