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/11 06:59:49 UTC

[lucene-solr] branch reference_impl updated: #64 Harden this test for load.

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 8552a7a  #64 Harden this test for load.
8552a7a is described below

commit 8552a7aa969b801ceed819b148fe08081a8cd89d
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Sat Jul 11 01:59:37 2020 -0500

    #64 Harden this test for load.
---
 .../solr/cloud/FullSolrCloudDistribCmdsTest.java       | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 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 8628539..6cd25d5 100644
--- a/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/FullSolrCloudDistribCmdsTest.java
@@ -68,14 +68,14 @@ public class FullSolrCloudDistribCmdsTest extends SolrCloudTestCase {
   @BeforeClass
   public static void setupCluster() throws Exception {
     System.setProperty("solr.suppressDefaultConfigBootstrap", "false");
-    System.setProperty("distribUpdateSoTimeout", "3000");
-    System.setProperty("socketTimeout", "5000");
-    System.setProperty("connTimeout", "3000");
-    System.setProperty("solr.test.socketTimeout.default", "5000");
-    System.setProperty("solr.connect_timeout.default", "3000");
-    System.setProperty("solr.so_commit_timeout.default", "5000");
-    System.setProperty("solr.httpclient.defaultConnectTimeout", "3000");
-    System.setProperty("solr.httpclient.defaultSoTimeout", "5000");
+    System.setProperty("distribUpdateSoTimeout", "10000");
+    System.setProperty("socketTimeout", "10000");
+    System.setProperty("connTimeout", "5000");
+    System.setProperty("solr.test.socketTimeout.default", "10000");
+    System.setProperty("solr.connect_timeout.default", "5000");
+    System.setProperty("solr.so_commit_timeout.default", "10000");
+    System.setProperty("solr.httpclient.defaultConnectTimeout", "5000");
+    System.setProperty("solr.httpclient.defaultSoTimeout", "10000");
 
     System.setProperty("solr.httpclient.retries", "1");
     System.setProperty("solr.retries.on.forward", "1");
@@ -88,7 +88,7 @@ public class FullSolrCloudDistribCmdsTest extends SolrCloudTestCase {
 
     // use a 5 node cluster so with a typical 2x2 collection one node isn't involved
     // helps to randomly test edge cases of hitting a node not involved in collection
-    configureCluster(TEST_NIGHTLY ? 5 : 3).configure();
+    configureCluster(TEST_NIGHTLY ? 5 : 2).configure();
   }
 
   @After