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 2021/02/21 17:59:41 UTC

[lucene-solr] branch reference_impl_dev updated: @1373 Test hardening.

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 fd546ef  @1373 Test hardening.
fd546ef is described below

commit fd546efac0f734c9543a0e8dfece0f2263883286
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Feb 21 11:57:24 2021 -0600

    @1373 Test hardening.
    
    Took 6 minutes
---
 .../LanguageIdentifierUpdateProcessorFactoryTestCase.java   | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/solr/contrib/langid/src/test/org/apache/solr/update/processor/LanguageIdentifierUpdateProcessorFactoryTestCase.java b/solr/contrib/langid/src/test/org/apache/solr/update/processor/LanguageIdentifierUpdateProcessorFactoryTestCase.java
index 48274e3..51f79f0 100644
--- a/solr/contrib/langid/src/test/org/apache/solr/update/processor/LanguageIdentifierUpdateProcessorFactoryTestCase.java
+++ b/solr/contrib/langid/src/test/org/apache/solr/update/processor/LanguageIdentifierUpdateProcessorFactoryTestCase.java
@@ -26,6 +26,8 @@ import org.apache.solr.common.params.ModifiableSolrParams;
 import org.apache.solr.core.SolrCore;
 import org.apache.solr.response.SolrQueryResponse;
 import org.apache.solr.servlet.SolrRequestParsers;
+import org.junit.After;
+import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -49,12 +51,23 @@ public abstract class LanguageIdentifierUpdateProcessorFactoryTestCase extends S
     core.close();
   }
 
+  @AfterClass
+  public static void afterDistributedQueryComponentOptimizationTest() throws Exception {
+    deleteCore();
+  }
+
   @Override
   @Before
   public void setUp() throws Exception {
     super.setUp();
+  }
+
+  @Override
+  @After
+  public void tearDown() throws Exception {
     clearIndex();
     assertU(commit());
+    super.tearDown();
   }
 
   @Test