lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yo...@apache.org
Subject svn commit: r820101 - /lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
Date Tue, 29 Sep 2009 21:53:49 GMT
Author: yonik
Date: Tue Sep 29 21:53:48 2009
New Revision: 820101

URL: http://svn.apache.org/viewvc?rev=820101&view=rev
Log:
increase jetty wait time more... still getting failure on my fast box

Modified:
    lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java

Modified: lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java?rev=820101&r1=820100&r2=820101&view=diff
==============================================================================
--- lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
(original)
+++ lucene/solr/trunk/src/webapp/src/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
Tue Sep 29 21:53:48 2009
@@ -111,7 +111,7 @@
   }
 
   /** Waits until a ping query to the solr server succeeds,
-   * retrying every 200 milliseconds for a total of 20 seconds.
+   * retrying every 200 milliseconds up to 2 minutes.
    */
   public void waitForSolr(String context) throws Exception
   {
@@ -122,7 +122,7 @@
 
     Exception ex = null;
     // Wait for a total of 20 seconds: 100 tries, 200 milliseconds each
-    for (int i=0; i<100; i++) {
+    for (int i=0; i<600; i++) {
       try {
         InputStream stream = url.openStream();
         stream.close();



Mime
View raw message