tests: check for fails again - if there was a fail and we compare against control, it's going to fail later anyway

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1543944 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-11-20 20:59:11 +00:00
parent 83e28ca6dd
commit 4f1ed4ee86
1 changed files with 5 additions and 6 deletions

View File

@ -164,12 +164,11 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
} }
// we expect full throttle fails, but cloud client should not easily fail // 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) {
// for (StopableThread indexThread : threads) { if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) {
// if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) { assertEquals(0, ((StopableIndexingThread) indexThread).getFails());
// assertEquals(0, ((StopableIndexingThread) indexThread).getFails()); }
// } }
// }
// try and wait for any replications and what not to finish... // try and wait for any replications and what not to finish...