You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/12/16 23:29:51 UTC

lucene-solr:master: null the static fields after test finishes

Repository: lucene-solr
Updated Branches:
  refs/heads/master c9522a393 -> 5f4521de6


null the static fields after test finishes


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

Branch: refs/heads/master
Commit: 5f4521de628ced22804c3fd9bcd3de5fa815c27d
Parents: c9522a3
Author: Mike McCandless <mi...@apache.org>
Authored: Fri Dec 16 18:29:40 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Fri Dec 16 18:29:40 2016 -0500

----------------------------------------------------------------------
 .../facet/src/test/org/apache/lucene/facet/TestFacetQuery.java  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5f4521de/lucene/facet/src/test/org/apache/lucene/facet/TestFacetQuery.java
----------------------------------------------------------------------
diff --git a/lucene/facet/src/test/org/apache/lucene/facet/TestFacetQuery.java b/lucene/facet/src/test/org/apache/lucene/facet/TestFacetQuery.java
index f3aa079..07edd6e 100644
--- a/lucene/facet/src/test/org/apache/lucene/facet/TestFacetQuery.java
+++ b/lucene/facet/src/test/org/apache/lucene/facet/TestFacetQuery.java
@@ -81,6 +81,11 @@ public class TestFacetQuery extends FacetTestCase {
   @AfterClass
   public static void closeTestIndex() throws IOException {
     IOUtils.close(indexReader, indexWriter, indexDirectory);
+    indexReader = null;
+    indexWriter = null;
+    indexDirectory = null;
+    searcher = null;
+    config = null;
   }
 
   @Test