mirror of https://github.com/apache/lucene.git
raise so timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
048924a82e
commit
4bd6402d16
|
@ -139,7 +139,7 @@ public class TestReplicationHandler extends SolrTestCaseJ4 {
|
|||
String url = "http://127.0.0.1:" + port + context;
|
||||
HttpSolrServer s = new HttpSolrServer(url);
|
||||
s.setConnectionTimeout(15000);
|
||||
s.setSoTimeout(30000);
|
||||
s.setSoTimeout(60000);
|
||||
s.setDefaultMaxConnectionsPerHost(100);
|
||||
s.setMaxTotalConnections(100);
|
||||
return s;
|
||||
|
|
|
@ -1335,7 +1335,7 @@ public abstract class AbstractFullDistribZkTestBase extends AbstractDistribZkTes
|
|||
(context.endsWith("/") ? "" : "/") + DEFAULT_COLLECTION;
|
||||
HttpSolrServer s = new HttpSolrServer(url);
|
||||
s.setConnectionTimeout(DEFAULT_CONNECTION_TIMEOUT);
|
||||
s.setSoTimeout(30000);
|
||||
s.setSoTimeout(60000);
|
||||
s.setDefaultMaxConnectionsPerHost(100);
|
||||
s.setMaxTotalConnections(100);
|
||||
return s;
|
||||
|
|
Loading…
Reference in New Issue