tests: update to not check cloud client fails = 0 for now

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429075 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-01-04 19:59:33 +00:00
parent 3690e29cfb
commit eeab864233
1 changed files with 7 additions and 6 deletions

View File

@ -142,12 +142,13 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
indexThread.join(); indexThread.join();
} }
// we expect full throttle fails, but not cloud client... // we expect full throttle fails, but cloud client should not easily fail
for (StopableThread indexThread : threads) { // but it's allowed to fail and sometimes does, so commented out for now
if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) { // for (StopableThread indexThread : threads) {
assertEquals(0, ((StopableIndexingThread) indexThread).getFails()); // if (indexThread instanceof StopableIndexingThread && !(indexThread instanceof FullThrottleStopableIndexingThread)) {
} // 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...