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:30:28 UTC
lucene-solr:branch_6x: null the static fields after test finishes
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6x 0f4c5f0a7 -> 693a72099
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/693a7209
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/693a7209
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/693a7209
Branch: refs/heads/branch_6x
Commit: 693a720996cb154ba19121d8a6605e040e0fc095
Parents: 0f4c5f0
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:30:03 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/693a7209/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