lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r915064 - in /lucene/solr/branches/cloud/src: common/org/apache/solr/common/cloud/ConnectionManager.java test/test-files/solr/solr.lowZkTimeout.xml
Date Mon, 22 Feb 2010 21:11:41 GMT
Author: markrmiller
Date: Mon Feb 22 21:11:40 2010
New Revision: 915064

URL: http://svn.apache.org/viewvc?rev=915064&view=rev
Log:
tweak for failure test

Modified:
    lucene/solr/branches/cloud/src/common/org/apache/solr/common/cloud/ConnectionManager.java
    lucene/solr/branches/cloud/src/test/test-files/solr/solr.lowZkTimeout.xml

Modified: lucene/solr/branches/cloud/src/common/org/apache/solr/common/cloud/ConnectionManager.java
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/common/org/apache/solr/common/cloud/ConnectionManager.java?rev=915064&r1=915063&r2=915064&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/common/org/apache/solr/common/cloud/ConnectionManager.java
(original)
+++ lucene/solr/branches/cloud/src/common/org/apache/solr/common/cloud/ConnectionManager.java
Mon Feb 22 21:11:40 2010
@@ -121,7 +121,7 @@
       left = expire - System.currentTimeMillis();
     }
     if (!connected) {
-      throw new TimeoutException("Could not connect to ZooKeeper within " + waitForConnection
+ " ms");
+      throw new TimeoutException("Could not connect to ZooKeeper " + zkServerAddress + "
within " + waitForConnection + " ms");
     }
   }
 

Modified: lucene/solr/branches/cloud/src/test/test-files/solr/solr.lowZkTimeout.xml
URL: http://svn.apache.org/viewvc/lucene/solr/branches/cloud/src/test/test-files/solr/solr.lowZkTimeout.xml?rev=915064&r1=915063&r2=915064&view=diff
==============================================================================
--- lucene/solr/branches/cloud/src/test/test-files/solr/solr.lowZkTimeout.xml (original)
+++ lucene/solr/branches/cloud/src/test/test-files/solr/solr.lowZkTimeout.xml Mon Feb 22 21:11:40
2010
@@ -28,7 +28,7 @@
   adminPath: RequestHandler path to manage cores.  
     If 'null' (or absent), cores will not be manageable via request handler
   -->
-  <cores adminPath="/admin/cores" defaultCoreName="collection1" hostContext="solr" zkClientTimeout="5">
+  <cores adminPath="/admin/cores" defaultCoreName="collection1" hostContext="solr" zkClientTimeout="10">
     <core name="collection1" instanceDir="." shardId="shard1"/>
   </cores>
 </solr>



Mime
View raw message