You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2012/01/27 05:38:03 UTC

svn commit: r1236525 - /lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java

Author: markrmiller
Date: Fri Jan 27 04:38:02 2012
New Revision: 1236525

URL: http://svn.apache.org/viewvc?rev=1236525&view=rev
Log:
we don't care if commit fails while we wait for things to settle down in this test

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

Modified: lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java?rev=1236525&r1=1236524&r2=1236525&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java (original)
+++ lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java Fri Jan 27 04:38:02 2012
@@ -168,7 +168,11 @@ public class ChaosMonkeyNothingIsSafeTes
     do {
       waitForRecoveriesToFinish(VERBOSE);
       
-      commit();
+      try {
+        commit();
+      } catch (Exception e) {
+        // we don't care if this commit fails on some nodes
+      }
       
       updateMappingsFromZk(jettys, clients);