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/15 21:45:00 UTC

[lucene-solr] branch reference_impl updated: @187 - Buff this 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 34b79a2  @187 - Buff this test.
34b79a2 is described below

commit 34b79a2227853d17a471b8a00fcbea4292101c85
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Jul 15 16:44:46 2020 -0500

    @187 - Buff this test.
---
 .../solr/cloud/FullSolrCloudDistribCmdsTest.java     | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java b/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java
index 3e142ee..130317c 100644
--- a/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java
@@ -68,21 +68,21 @@ public class FullSolrCloudDistribCmdsTest extends SolrCloudTestCase {
   public static void setupCluster() throws Exception {
     System.setProperty("solr.suppressDefaultConfigBootstrap", "false");
     System.setProperty("distribUpdateSoTimeout", "10000");
-    System.setProperty("socketTimeout", "10000");
+    System.setProperty("socketTimeout", "15000");
     System.setProperty("connTimeout", "5000");
-    System.setProperty("solr.test.socketTimeout.default", "10000");
+    System.setProperty("solr.test.socketTimeout.default", "15000");
     System.setProperty("solr.connect_timeout.default", "5000");
-    System.setProperty("solr.so_commit_timeout.default", "10000");
+    System.setProperty("solr.so_commit_timeout.default", "15000");
     System.setProperty("solr.httpclient.defaultConnectTimeout", "5000");
-    System.setProperty("solr.httpclient.defaultSoTimeout", "10000");
+    System.setProperty("solr.httpclient.defaultSoTimeout", "15000");
 
-    System.setProperty("solr.httpclient.retries", "1");
-    System.setProperty("solr.retries.on.forward", "1");
-    System.setProperty("solr.retries.to.followers", "1");
+    System.setProperty("solr.httpclient.retries", "0");
+    System.setProperty("solr.retries.on.forward", "0");
+    System.setProperty("solr.retries.to.followers", "0");
 
     System.setProperty("solr.waitForState", "10"); // secs
 
-    System.setProperty("solr.default.collection_op_timeout", "30000");
+    System.setProperty("solr.default.collection_op_timeout", "15000");
 
 
     // use a 5 node cluster so with a typical 2x2 collection one node isn't involved
@@ -92,8 +92,6 @@ public class FullSolrCloudDistribCmdsTest extends SolrCloudTestCase {
 
   @After
   public void purgeAllCollections() throws Exception {
-    zkClient().printLayout();
-    cluster.deleteAllCollections();
     cluster.getSolrClient().setDefaultCollection(null);
   }
 
@@ -385,7 +383,7 @@ public class FullSolrCloudDistribCmdsTest extends SolrCloudTestCase {
     final CloudSolrClient cloudClient = cluster.getSolrClient();
     final String collectionName = createAndSetNewDefaultCollection();
     
-    final int numDocs = atLeast(50);
+    final int numDocs = atLeast(TEST_NIGHTLY ? 50 : 15);
     for (int i = 0; i < numDocs; i++) {
       UpdateRequest uReq;
       uReq = new UpdateRequest();