Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-13518: extra assertNotNull info for SolrInfoBeanTest

Christine Poerschke757e4548c739
diff --git a/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java b/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
index e44414d8c52..57a7d871280 100644
--- a/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
+++ b/solr/core/src/test/org/apache/solr/SolrInfoBeanTest.java
@@ -69,9 +69,9 @@ public class SolrInfoBeanTest extends SolrTestCaseJ4
}
//System.out.println( info.getClass() );
- assertNotNull( info.getName() );
- assertNotNull( info.getDescription() );
- assertNotNull( info.getCategory() );
+ assertNotNull( info.getClass().getCanonicalName(), info.getName() );
+ assertNotNull( info.getClass().getCanonicalName(), info.getDescription() );
+ assertNotNull( info.getClass().getCanonicalName(), info.getCategory() );
if( info instanceof LRUCache ) {
continue;