Don't release MBeanServer, other tests running in this JVM may already depended on it.

This commit is contained in:
Andrzej Bialecki 2017-08-15 10:59:05 +02:00
parent fe34212a28
commit c861c12d15
1 changed files with 0 additions and 7 deletions

View File

@ -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);