You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by yo...@apache.org on 2019/12/14 14:56:22 UTC

[lucene-solr] branch master updated: SOLR-13884: Ignore ConcurrentCreateCollectionTest

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 49c3402  SOLR-13884: Ignore ConcurrentCreateCollectionTest
49c3402 is described below

commit 49c34028ab6b840f6582f4397a28f1a9e11101cb
Author: yonik <yo...@apache.org>
AuthorDate: Sat Dec 14 09:31:13 2019 -0500

    SOLR-13884: Ignore ConcurrentCreateCollectionTest
---
 .../cloud/api/collections/ConcurrentCreateCollectionTest.java    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/api/collections/ConcurrentCreateCollectionTest.java b/solr/core/src/test/org/apache/solr/cloud/api/collections/ConcurrentCreateCollectionTest.java
index 6d103f1..b864ce2 100644
--- a/solr/core/src/test/org/apache/solr/cloud/api/collections/ConcurrentCreateCollectionTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/api/collections/ConcurrentCreateCollectionTest.java
@@ -36,11 +36,12 @@ import org.apache.solr.common.cloud.Slice;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 
-
+@Ignore("SOLR-13884")
 public class ConcurrentCreateCollectionTest extends SolrCloudTestCase {
   
   private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
@@ -71,7 +72,7 @@ public class ConcurrentCreateCollectionTest extends SolrCloudTestCase {
 
   private CollectionAdminRequest.Create createCollectionRequest(String cname, int numShards, int numReplicas) throws Exception {
     CollectionAdminRequest.Create creq = CollectionAdminRequest
-        // nocommit .createCollection(cname, "conf", NODES - 1, NODES - 1)
+        //  .createCollection(cname, "conf", NODES - 1, NODES - 1)
         .createCollection(cname, "conf", numShards, numReplicas)
         .setMaxShardsPerNode(100);
     creq.setWaitForFinalState(true);
@@ -135,7 +136,7 @@ public class ConcurrentCreateCollectionTest extends SolrCloudTestCase {
 
       String cname = "STARTCOLLECTION";
       CollectionAdminRequest.Create creq = CollectionAdminRequest
-          // nocommit .createCollection(cname, "conf", NODES - 1, NODES - 1)
+          //  .createCollection(cname, "conf", NODES - 1, NODES - 1)
           .createCollection(cname, "conf", unbalancedSize, 1)
           .setMaxShardsPerNode(100);
       creq.setWaitForFinalState(true);
@@ -204,7 +205,7 @@ public class ConcurrentCreateCollectionTest extends SolrCloudTestCase {
         try {
           for (int j=0; j<createsPerThread; j++) {
             int num = collectionNum.incrementAndGet();
-            // Thread.sleep(num*1000); // nocommit
+            // Thread.sleep(num*1000);
             String collectionName = "collection" + num;
             CollectionAdminRequest.Create createReq = CollectionAdminRequest
                 .createCollection(collectionName, "conf", nShards, repFactor)