lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-13518) improve SolrInfoBeanTest.testCallMBeanInfo debuggability
Date Wed, 05 Jun 2019 19:43:00 GMT

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

Christine Poerschke commented on SOLR-13518:
--------------------------------------------

Two commits above done, will leave this ticket open for a bit in case anyone else (or myself)
wants to use it for additional debug-related adjustments for the test.

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


Mime
View raw message