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/07/29 02:02:37 UTC

[lucene-solr] 04/27: @421 Enable CleanupOldIndexTest.

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

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

commit 505247f43244d44a794fb42f15828b7b35e0529a
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Jul 28 09:34:29 2020 -0500

    @421 Enable CleanupOldIndexTest.
---
 solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java b/solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
index ef4aa91..bc033ce 100644
--- a/solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
@@ -36,7 +36,6 @@ import org.junit.Ignore;
 import org.junit.Test;
 
 @LuceneTestCase.Slow
-@Ignore // nocommit speed up
 public class CleanupOldIndexTest extends SolrCloudTestCase {
 
   @BeforeClass
@@ -111,9 +110,6 @@ public class CleanupOldIndexTest extends SolrCloudTestCase {
     indexThread.safeStop();
     indexThread.join();
 
-    cluster.getSolrClient().waitForState(COLLECTION, DEFAULT_TIMEOUT, TimeUnit.SECONDS,
-        (n, c) -> DocCollection.isFullyActive(n, c, 1, 2));
-
     assertTrue(!oldIndexDir1.isDirectory());
     assertTrue(!oldIndexDir2.isDirectory());
   }