You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by da...@apache.org on 2018/12/12 11:53:13 UTC

lucene-solr:jira/http2: Increase idleTimeout in test

Repository: lucene-solr
Updated Branches:
  refs/heads/jira/http2 16c10b805 -> 0094a2400


Increase idleTimeout in test


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/0094a240
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/0094a240
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/0094a240

Branch: refs/heads/jira/http2
Commit: 0094a24004e1fb1a3594dad52625fe9de2ddc471
Parents: 16c10b8
Author: Cao Manh Dat <da...@apache.org>
Authored: Wed Dec 12 11:53:07 2018 +0000
Committer: Cao Manh Dat <da...@apache.org>
Committed: Wed Dec 12 11:53:07 2018 +0000

----------------------------------------------------------------------
 .../test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/0094a240/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java
----------------------------------------------------------------------
diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java
index 3849872..92294d1 100644
--- a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java
+++ b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttp2SolrClient.java
@@ -90,7 +90,7 @@ public class TestLBHttp2SolrClient extends SolrTestCaseJ4 {
   @Override
   public void setUp() throws Exception {
     super.setUp();
-    httpClient = new Http2SolrClient.Builder().connectionTimeout(500).idleTimeout(500).build();
+    httpClient = new Http2SolrClient.Builder().connectionTimeout(1000).idleTimeout(2000).build();
 
     for (int i = 0; i < solr.length; i++) {
       solr[i] = new SolrInstance("solr/collection1" + i, createTempDir("instance-" + i).toFile(), 0);