You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2018/10/24 19:18:42 UTC

[2/5] lucene-solr:branch_7x: SOLR-12905: MultiSolrCloudTestCase now clears static clusterId2cluster in @AfterClass

SOLR-12905: MultiSolrCloudTestCase now clears static clusterId2cluster in @AfterClass


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/27bc9ccf
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/27bc9ccf
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/27bc9ccf

Branch: refs/heads/branch_7x
Commit: 27bc9ccfb56e6f631a1f2810d49b5bb96d734f01
Parents: 7e92259
Author: Christine Poerschke <cp...@apache.org>
Authored: Wed Oct 24 19:25:10 2018 +0100
Committer: Christine Poerschke <cp...@apache.org>
Committed: Wed Oct 24 20:06:48 2018 +0100

----------------------------------------------------------------------
 .../src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/27bc9ccf/solr/test-framework/src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java
----------------------------------------------------------------------
diff --git a/solr/test-framework/src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java b/solr/test-framework/src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java
index 4562c3e..eb0a677 100644
--- a/solr/test-framework/src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java
+++ b/solr/test-framework/src/java/org/apache/solr/cloud/MultiSolrCloudTestCase.java
@@ -102,6 +102,7 @@ public abstract class MultiSolrCloudTestCase extends SolrTestCaseJ4 {
     for (MiniSolrCloudCluster cluster : clusterId2cluster.values()) {
       cluster.shutdown();
     }
+    clusterId2cluster.clear();
   }
 
 }