lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r826278 - /lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java
Date Sat, 17 Oct 2009 16:26:51 GMT
Author: yonik
Date: Sat Oct 17 16:26:51 2009
New Revision: 826278

URL: http://svn.apache.org/viewvc?rev=826278&view=rev
Log:
test - try to up check interval... it may not have been completing fast enough

Modified:
    lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java

Modified: lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java?rev=826278&r1=826277&r2=826278&view=diff
==============================================================================
--- lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java (original)
+++ lucene/solr/trunk/src/test/org/apache/solr/client/solrj/TestLBHttpSolrServer.java Sat
Oct 17 16:26:51 2009
@@ -83,7 +83,7 @@
       s[i] = solr[i].getUrl();
     }
     LBHttpSolrServer lbHttpSolrServer = new LBHttpSolrServer(httpClient, s);
-    lbHttpSolrServer.setAliveCheckInterval(1000);
+    lbHttpSolrServer.setAliveCheckInterval(500);
     SolrQuery solrQuery = new SolrQuery("*:*");
     Set<String> names = new HashSet<String>();
     QueryResponse resp = null;
@@ -121,7 +121,7 @@
 
   public void testTwoServers() throws Exception {
     LBHttpSolrServer lbHttpSolrServer = new LBHttpSolrServer(httpClient, solr[0].getUrl(),
solr[1].getUrl());
-    lbHttpSolrServer.setAliveCheckInterval(1000);
+    lbHttpSolrServer.setAliveCheckInterval(500);
     SolrQuery solrQuery = new SolrQuery("*:*");
     Set<String> names = new HashSet<String>();
     QueryResponse resp = null;



Mime
View raw message