mirror of https://github.com/apache/lucene.git
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.
This commit is contained in:
parent
4446545de6
commit
364b680afa
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue