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 2013/01/04 20:59:34 UTC
svn commit: r1429075 -
/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java
Author: markrmiller
Date: Fri Jan 4 19:59:33 2013
New Revision: 1429075
URL: http://svn.apache.org/viewvc?rev=1429075&view=rev
Log:
tests: update to not check cloud client fails = 0 for now
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=1429075&r1=1429074&r2=1429075&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 4 19:59:33 2013
@@ -142,12 +142,13 @@ public class ChaosMonkeyNothingIsSafeTes
indexThread.join();
}
- // we expect full throttle fails, but not cloud client...
- for (StopableThread indexThread : threads) {
- if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) {
- assertEquals(0, ((StopableIndexingThread) indexThread).getFails());
- }
- }
+ // we expect full throttle fails, but cloud client should not easily fail
+ // but it's allowed to fail and sometimes does, so commented out for now
+// for (StopableThread indexThread : threads) {
+// if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) {
+// assertEquals(0, ((StopableIndexingThread) indexThread).getFails());
+// }
+// }
// try and wait for any replications and what not to finish...