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 09:14:08 UTC

[lucene-solr] branch reference_impl updated: @202 - Give the other collections test deleting collections between tests longer so timeouts for low end hardware as well.

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 d9d9113  @202 - Give the other collections test deleting collections between tests longer so timeouts for low end hardware as well.
d9d9113 is described below

commit d9d9113ce201410baaa97d7bc38979c6dea77f84
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Thu Jul 16 04:13:52 2020 -0500

    @202 - Give the other collections test deleting collections between tests longer so timeouts for low end hardware as well.
---
 .../cloud/api/collections/CollectionsAPIDistClusterPerZkTest.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIDistClusterPerZkTest.java b/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIDistClusterPerZkTest.java
index f3f605e..0a2bf99 100644
--- a/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIDistClusterPerZkTest.java
+++ b/solr/core/src/test/org/apache/solr/cloud/api/collections/CollectionsAPIDistClusterPerZkTest.java
@@ -105,6 +105,14 @@ public class CollectionsAPIDistClusterPerZkTest extends SolrCloudTestCase {
       System.setProperty("createCollectionWaitTimeTillActive", "5");
       TestInjection.randomDelayInCoreCreation = "true:1";
     }
+    // this class deletes all the collections between each test and so really
+    // stresses a difficult code path - give a higher so timeout for low end hardware to make it through
+    // bad cases
+    System.setProperty("distribUpdateSoTimeout", "20000");
+    System.setProperty("socketTimeout", "20000");
+    System.setProperty("solr.test.socketTimeout.default", "20000");
+    System.setProperty("solr.so_commit_timeout.default", "20000");
+    System.setProperty("solr.httpclient.defaultSoTimeout", "20000");
 
     configureCluster(4)
         .addConfig("conf", configset(getConfigSet()))