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/09/01 18:14:03 UTC
[lucene-solr] 02/02: @675 Try to harden test around socket timeout.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit 30efdde0062a974c3851f27f25afdbc8e4644822
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Tue Sep 1 13:13:41 2020 -0500
@675 Try to harden test around socket timeout.
---
.../org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java
index d9e4bf1..4242c94 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java
@@ -82,7 +82,8 @@ public class StreamDecoratorTest extends SolrCloudTestCase {
@BeforeClass
public static void setupCluster() throws Exception {
- configureCluster(4)
+ System.setProperty("solr.http2solrclient.default.idletimeout", "30000");
+ configureCluster(TEST_NIGHTLY ? 4 : 2)
.addConfig("conf", getFile("solrj").toPath().resolve("solr").resolve("configsets").resolve("streaming").resolve("conf"))
.addConfig("ml", getFile("solrj").toPath().resolve("solr").resolve("configsets").resolve("ml").resolve("conf"))
.configure();