mirror of https://github.com/apache/lucene.git
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:
parent
83e28ca6dd
commit
4f1ed4ee86
|
@ -164,12 +164,11 @@ public class ChaosMonkeyNothingIsSafeTest extends AbstractFullDistribZkTestBase
|
|||
}
|
||||
|
||||
// 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...
|
||||
|
||||
|
|
Loading…
Reference in New Issue