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/26 21:46:38 UTC

[lucene-solr] branch reference_impl updated: @362 Tweak test.

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


The following commit(s) were added to refs/heads/reference_impl by this push:
     new dd4b91d  @362 Tweak test.
dd4b91d is described below

commit dd4b91db75fc4fe83ee7e475b3c520cf43703f72
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sun Jul 26 16:46:27 2020 -0500

    @362 Tweak test.
---
 .../src/test/org/apache/solr/core/snapshots/TestSolrCoreSnapshots.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/test/org/apache/solr/core/snapshots/TestSolrCoreSnapshots.java b/solr/core/src/test/org/apache/solr/core/snapshots/TestSolrCoreSnapshots.java
index 7c3aa78..33709dd 100644
--- a/solr/core/src/test/org/apache/solr/core/snapshots/TestSolrCoreSnapshots.java
+++ b/solr/core/src/test/org/apache/solr/core/snapshots/TestSolrCoreSnapshots.java
@@ -84,7 +84,7 @@ public class TestSolrCoreSnapshots extends SolrCloudTestCase {
   public void testBackupRestore() throws Exception {
     CloudHttp2SolrClient solrClient = cluster.getSolrClient();
     String collectionName = "SolrCoreSnapshots";
-    CollectionAdminRequest.Create create = CollectionAdminRequest.createCollection(collectionName, "conf1", 1, 1);
+    CollectionAdminRequest.Create create = CollectionAdminRequest.createCollection(collectionName, "conf1", 1, 1).setMaxShardsPerNode(10);
     create.process(solrClient);
 
     String location = createTempDir().toFile().getAbsolutePath();