Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-378 -- increase timeout to hopefully avoid nightly failures...

Ryan McKinleycc005c832e76
diff --git a/client/java/solrj/test/org/apache/solr/client/solrj/embedded/SolrExampleJettyTest.java b/client/java/solrj/test/org/apache/solr/client/solrj/embedded/SolrExampleJettyTest.java
index 3677cec1dd4..aa0569022f4 100644
--- a/client/java/solrj/test/org/apache/solr/client/solrj/embedded/SolrExampleJettyTest.java
+++ b/client/java/solrj/test/org/apache/solr/client/solrj/embedded/SolrExampleJettyTest.java
@@ -69,7 +69,7 @@ public class SolrExampleJettyTest extends SolrExampleTests {
// 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;