You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sh...@apache.org on 2017/08/19 12:29:20 UTC
[05/31] lucene-solr:feature/autoscaling: Don't release MBeanServer,
other tests running in this JVM may already depended on it.
Don't release MBeanServer, other tests running in this JVM may already depended on it.
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c861c12d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c861c12d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c861c12d
Branch: refs/heads/feature/autoscaling
Commit: c861c12d1579cca7d5eae7259dcfc04209638f34
Parents: fe34212
Author: Andrzej Bialecki <ab...@apache.org>
Authored: Tue Aug 15 10:59:05 2017 +0200
Committer: Andrzej Bialecki <ab...@apache.org>
Committed: Tue Aug 15 10:59:05 2017 +0200
----------------------------------------------------------------------
.../solr/metrics/reporters/SolrJmxReporterCloudTest.java | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c861c12d/solr/core/src/test/org/apache/solr/metrics/reporters/SolrJmxReporterCloudTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/metrics/reporters/SolrJmxReporterCloudTest.java b/solr/core/src/test/org/apache/solr/metrics/reporters/SolrJmxReporterCloudTest.java
index a76f483..664fbcc 100644
--- a/solr/core/src/test/org/apache/solr/metrics/reporters/SolrJmxReporterCloudTest.java
+++ b/solr/core/src/test/org/apache/solr/metrics/reporters/SolrJmxReporterCloudTest.java
@@ -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);