mirror of https://github.com/apache/lucene.git
Don't release MBeanServer, other tests running in this JVM may already depended on it.
This commit is contained in:
parent
fe34212a28
commit
c861c12d15
|
@ -63,13 +63,6 @@ public class SolrJmxReporterCloudTest extends SolrCloudTestCase {
|
|||
.process(cluster.getSolrClient());
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
public static void releaseMBeanServer() throws Exception {
|
||||
if (mBeanServer != null) {
|
||||
MBeanServerFactory.releaseMBeanServer(mBeanServer);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testJmxReporter() throws Exception {
|
||||
CollectionAdminRequest.reloadCollection(COLLECTION).processAndWait(cluster.getSolrClient(), 60);
|
||||
|
|
Loading…
Reference in New Issue