You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2021/01/08 14:35:59 UTC

[lucene-solr] branch branch_8x updated: test: null static fields in @AfterClass

This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 6061726  test: null static fields in @AfterClass
6061726 is described below

commit 606172636c39c4a677ec2b0415c0c6a720457e49
Author: David Smiley <ds...@salesforce.com>
AuthorDate: Fri Jan 8 09:35:28 2021 -0500

    test: null static fields in @AfterClass
---
 .../src/test/org/apache/solr/cloud/NestedShardedAtomicUpdateTest.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/core/src/test/org/apache/solr/cloud/NestedShardedAtomicUpdateTest.java b/solr/core/src/test/org/apache/solr/cloud/NestedShardedAtomicUpdateTest.java
index 31b2cf8..aecd003 100644
--- a/solr/core/src/test/org/apache/solr/cloud/NestedShardedAtomicUpdateTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/NestedShardedAtomicUpdateTest.java
@@ -72,6 +72,8 @@ public class NestedShardedAtomicUpdateTest extends SolrCloudTestCase { // used t
   @AfterClass
   public static void afterClass() throws Exception {
     IOUtils.close(clients);
+    clients = null;
+    cloudClient = null;
   }
 
   @Test