lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1423534 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
Date Tue, 18 Dec 2012 17:09:34 GMT
Author: markrmiller
Date: Tue Dec 18 17:09:34 2012
New Revision: 1423534

URL: http://svn.apache.org/viewvc?rev=1423534&view=rev
Log:
test should retry on connectionloss

Modified:
    lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java?rev=1423534&r1=1423533&r2=1423534&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/OverseerTest.java Tue Dec 18
17:09:34 2012
@@ -82,9 +82,9 @@ public class OverseerTest extends SolrTe
 
     private void deleteNode(final String path) {
       try {
-        Stat stat = zkClient.exists(path, null, false);
+        Stat stat = zkClient.exists(path, null, true);
         if (stat != null) {
-          zkClient.delete(path, stat.getVersion(), false);
+          zkClient.delete(path, stat.getVersion(), true);
         }
       } catch (KeeperException e) {
         fail("Unexpected KeeperException!" + e);



Mime
View raw message