lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject [07/37] lucene-solr:feature/autoscaling_72: Don't release MBeanServer, other tests running in this JVM may already depended on it.
Date Sat, 19 Aug 2017 12:31:18 GMT
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_72
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);


Mime
View raw message