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:
Mark Robert Miller 2012-12-21 11:23:29 +00:00
parent 048924a82e
commit 4bd6402d16
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;