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/16 02:08:38 UTC
[lucene-solr] branch reference_impl updated: @194 - Knock this test
down.
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 adcce58 @194 - Knock this test down.
adcce58 is described below
commit adcce58a686eff7bc891e2fbec16c46835e94fb1
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 15 21:08:25 2020 -0500
@194 - Knock this test down.
---
solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java b/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
index 3f3dbbc..645811c 100644
--- a/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
+++ b/solr/core/src/test/org/apache/solr/cloud/TestSegmentSorting.java
@@ -55,7 +55,7 @@ public class TestSegmentSorting extends SolrCloudTestCase {
@BeforeClass
public static void setupCluster() throws Exception {
- configureCluster(NUM_SERVERS)
+ configureCluster(TEST_NIGHTLY ? NUM_SERVERS : 2)
.addConfig(configName, Paths.get(TEST_HOME(), "collection1", "conf"))
.configure();
}
@@ -79,8 +79,9 @@ public class TestSegmentSorting extends SolrCloudTestCase {
CollectionAdminRequest.Create cmd =
CollectionAdminRequest.createCollection(collectionName, configName,
- NUM_SHARDS, REPLICATION_FACTOR)
- .setProperties(collectionProperties);
+ NUM_SHARDS, TEST_NIGHTLY ? REPLICATION_FACTOR : 1)
+ .setMaxShardsPerNode(10)
+ .setProperties(collectionProperties);
assertTrue( cmd.process(cloudSolrClient).isSuccess() );