From defe907de2788b74c8bf4f23dec58c7d150ab7ff Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Wed, 24 Aug 2011 13:44:31 +0000 Subject: [PATCH] try increasing the timeouts for slow machines git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1161097 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/solr/client/solrj/TestLBHttpSolrServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java index d5f3a598733..92b830eed33 100644 --- a/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java +++ b/solr/solrj/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java @@ -162,8 +162,8 @@ public class TestLBHttpSolrServer extends LuceneTestCase { } HttpClient myHttpClient = new HttpClient(new MultiThreadedHttpConnectionManager()); - myHttpClient.getParams().setParameter("http.connection.timeout", new Integer(100)); - myHttpClient.getParams().setParameter("http.socket.timeout", new Integer(100)); + myHttpClient.getParams().setParameter("http.connection.timeout", new Integer(250)); + myHttpClient.getParams().setParameter("http.socket.timeout", new Integer(250)); LBHttpSolrServer lbHttpSolrServer = new LBHttpSolrServer(myHttpClient, s); lbHttpSolrServer.setAliveCheckInterval(500);