From 4f0119134e3b389640a1b18833ac4b0a2339295d Mon Sep 17 00:00:00 2001 From: Shalin Shekhar Mangar Date: Tue, 5 Aug 2008 08:38:31 +0000 Subject: [PATCH] More debugging statements git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@682633 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/solr/core/TestJmxIntegration.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/test/org/apache/solr/core/TestJmxIntegration.java b/src/test/org/apache/solr/core/TestJmxIntegration.java index 93ae87ba2ed..d32ee9f46a5 100644 --- a/src/test/org/apache/solr/core/TestJmxIntegration.java +++ b/src/test/org/apache/solr/core/TestJmxIntegration.java @@ -83,11 +83,12 @@ public class TestJmxIntegration extends AbstractSolrTestCase { @Test public void testJmxUpdate() throws Exception { List 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());