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/11/20 21:59:11 UTC
svn commit: r1543944 -
/lucene/dev/trunk/solr/core/src/test/org/apache/solr/cloud/ChaosMonkeyNothingIsSafeTest.java
Author: markrmiller
Date: Wed Nov 20 20:59:11 2013
New Revision: 1543944
URL: http://svn.apache.org/r1543944
Log:
tests: check for fails again - if there was a fail and we compare against control, it's going to fail later anyway
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=1543944&r1=1543943&r2=1543944&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 Wed Nov 20 20:59:11 2013
@@ -164,12 +164,11 @@ public class ChaosMonkeyNothingIsSafeTes
}
// 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());
-// }
-// }
+ 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...