You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by th...@apache.org on 2022/03/09 16:19:34 UTC

[lucene-solr] branch branch_8_11 updated: Set cluster size to 2 and maxShardsPerNode to -1 for HttpClusterStateSSLTest (#2645)

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

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


The following commit(s) were added to refs/heads/branch_8_11 by this push:
     new 6abb966  Set cluster size to 2 and maxShardsPerNode to -1 for HttpClusterStateSSLTest (#2645)
6abb966 is described below

commit 6abb9665429c2f8a4e4884b6642f13c47bfd2bf0
Author: Timothy Potter <th...@gmail.com>
AuthorDate: Wed Mar 9 09:19:11 2022 -0700

    Set cluster size to 2 and maxShardsPerNode to -1 for HttpClusterStateSSLTest (#2645)
---
 .../org/apache/solr/client/solrj/impl/HttpClusterStateSSLTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpClusterStateSSLTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpClusterStateSSLTest.java
index 4cebcdc..a147204 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpClusterStateSSLTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/impl/HttpClusterStateSSLTest.java
@@ -39,7 +39,7 @@ public class HttpClusterStateSSLTest extends SolrCloudTestCase {
   @BeforeClass
   public static void setupClusterWithSSL() throws Exception {
     System.setProperty("solr.storeBaseUrl", "true");
-    configureCluster(1)
+    configureCluster(2)
         .addConfig("conf", getFile("solrj").toPath().resolve("solr").resolve("configsets").resolve("streaming").resolve("conf"))
         .configure();
   }
@@ -56,6 +56,7 @@ public class HttpClusterStateSSLTest extends SolrCloudTestCase {
     final int expectedReplicas = numShards * rf;
     CollectionAdminRequest.createCollection(collectionId, "conf", numShards, rf)
         .setPerReplicaState(false)
+        .setMaxShardsPerNode(-1)
         .process(cluster.getSolrClient());
     cluster.waitForActiveCollection(collectionId, numShards, numShards * rf);