mirror of https://github.com/apache/lucene.git
More debugging statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
25a88db881
commit
4f0119134e
|
@ -83,11 +83,12 @@ public class TestJmxIntegration extends AbstractSolrTestCase {
|
|||
@Test
|
||||
public void testJmxUpdate() throws Exception {
|
||||
List<MBeanServer> servers = MBeanServerFactory.findMBeanServer(null);
|
||||
System.out.println("Servers in testJmxUpdate: " + servers);
|
||||
System.err.println("Servers in testJmxUpdate: " + servers);
|
||||
System.err.println(h.getCore().getInfoRegistry());
|
||||
|
||||
ObjectName searcher = getObjectName("searcher", h.getCore().getInfoRegistry().get("searcher"));
|
||||
MBeanServer mbeanServer = servers.get(0);
|
||||
System.out.println("Mbeans in server: " + mbeanServer.queryNames(null, null));
|
||||
System.err.println("Mbeans in server: " + mbeanServer.queryNames(null, null));
|
||||
|
||||
assertFalse("No mbean found for SolrIndexSearcher", mbeanServer.queryMBeans(searcher, null).isEmpty());
|
||||
|
||||
|
|
Loading…
Reference in New Issue