You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/10/30 20:55:23 UTC

[lucene-solr] branch reference_impl_dev updated: @1086 Harden.

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

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


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new 01ec928  @1086 Harden.
01ec928 is described below

commit 01ec92805569cb573394f0980b30a754f57a68a1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Fri Oct 30 15:55:04 2020 -0500

    @1086 Harden.
---
 .../org/apache/solr/response/transform/TestChildDocTransformer.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/response/transform/TestChildDocTransformer.java b/solr/core/src/test/org/apache/solr/response/transform/TestChildDocTransformer.java
index e880552..e5b6be0 100644
--- a/solr/core/src/test/org/apache/solr/response/transform/TestChildDocTransformer.java
+++ b/solr/core/src/test/org/apache/solr/response/transform/TestChildDocTransformer.java
@@ -34,7 +34,7 @@ import static org.hamcrest.core.StringContains.containsString;
 
 public class TestChildDocTransformer extends SolrTestCaseJ4 {
 
-  private static String ID_FIELD = "id";
+  private static final String ID_FIELD = "id";
   private String[] titleVals = new String[2];
 
   @BeforeClass
@@ -44,8 +44,7 @@ public class TestChildDocTransformer extends SolrTestCaseJ4 {
 
   @After
   public void cleanup() throws Exception {
-    assertU(delQ("*:*"));
-    // TODO: if we followed this with a commit, this test would randomly fail, I think do to not getting a full & good delete
+    clearIndex();
   }
 
   @Test