lucene-dev mailing list archives

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

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

ASF subversion and git services commented on SOLR-13518:
--------------------------------------------------------

Commit 757e4548c7390d4900cb4fe433e17d14a7b4a2ee in lucene-solr's branch refs/heads/master
from Christine Poerschke
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=757e454 ]

SOLR-13518: extra assertNotNull info for SolrInfoBeanTest


> 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