mirror of https://github.com/apache/lucene.git
lengthen connect timeout in test added for SOLR-127
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@630756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3813608000
commit
d9607c5f78
|
@ -69,7 +69,7 @@ public abstract class CacheHeaderTestBase extends SolrExampleTestBase {
|
|||
// setup the server...
|
||||
String url = "http://localhost:" + port + context;
|
||||
CommonsHttpSolrServer s = new CommonsHttpSolrServer(url);
|
||||
s.setConnectionTimeout(5);
|
||||
s.setConnectionTimeout(100); // 1/10th sec
|
||||
s.setDefaultMaxConnectionsPerHost(100);
|
||||
s.setMaxTotalConnections(100);
|
||||
return s;
|
||||
|
|
Loading…
Reference in New Issue