You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/02/22 16:44:00 UTC

lucene-solr:master: SOLR-11407: Increase the imbalance of the cluster to increase the pressure to relocate replicas - in some test runs the policy decided not to move any replicas.

Repository: lucene-solr
Updated Branches:
  refs/heads/master 4446545de -> 364b680af


SOLR-11407: Increase the imbalance of the cluster to increase the pressure to
relocate replicas - in some test runs the policy decided not to move any replicas.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/364b680a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/364b680a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/364b680a

Branch: refs/heads/master
Commit: 364b680afaf9efe692dfe034f5faa8740e9b3852
Parents: 4446545
Author: Andrzej Bialecki <ab...@apache.org>
Authored: Thu Feb 22 17:41:58 2018 +0100
Committer: Andrzej Bialecki <ab...@apache.org>
Committed: Thu Feb 22 17:43:50 2018 +0100

----------------------------------------------------------------------
 .../apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/364b680a/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java b/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
index 5e44ee0..8bb336d 100644
--- a/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
+++ b/solr/core/src/test/org/apache/solr/handler/admin/AutoscalingHistoryHandlerTest.java
@@ -75,7 +75,7 @@ public class AutoscalingHistoryHandlerTest extends SolrCloudTestCase {
 
   @BeforeClass
   public static void setupCluster() throws Exception {
-    configureCluster(4)
+    configureCluster(2)
         .addConfig("conf", configset("cloud-minimal"))
         .configure();
     solrClient = cluster.getSolrClient();
@@ -90,6 +90,7 @@ public class AutoscalingHistoryHandlerTest extends SolrCloudTestCase {
     otherNodes.remove(systemCollNode);
     CollectionAdminRequest.createCollection(COLL_NAME, null, 1, 3)
         .setCreateNodeSet(String.join(",", otherNodes))
+        .setMaxShardsPerNode(3)
         .process(solrClient);
   }