Searched defs:doFail (Results 1 - 10 of 10) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestConcurrentMergeScheduler.java32 boolean doFail; field in class:TestConcurrentMergeScheduler.FailOnlyOnFlush
37 this.doFail = true;
42 this.doFail = false;
47 if (doFail && isTestThread()) {
H A DTestTransactions.java33 private static volatile boolean doFail; field in class:TestTransactions
38 if (TestTransactions.doFail && random.nextInt() % 10 <= 3)
117 TestTransactions.doFail = true;
139 TestTransactions.doFail = false;
H A DTestFieldsReader.java72 FaultyIndexInput.doFail = false;
450 static boolean doFail; field in class:TestFieldsReader.FaultyIndexInput
457 if (doFail && count++ % 2 == 1) {
503 FaultyIndexInput.doFail = true;
H A DTestIndexWriterExceptions.java87 doFail.set(this);
122 doFail.set(null);
139 ThreadLocal<Thread> doFail = new ThreadLocal<Thread>(); field in class:TestIndexWriterExceptions
150 if (doFail.get() != null && !name.equals("startDoFlush") && r.nextInt(40) == 17) {
268 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter2
272 if (doFail && name.equals("DocumentsWriter.ThreadState.init start"))
311 w.doFail = true;
361 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter3
366 if (doFail && name.equals("startMergeInit")) {
382 w.doFail
468 boolean doFail = false; field in class:TestIndexWriterExceptions.FailOnlyOnFlush
934 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter4
1301 boolean doFail = false; field in class:TestIndexWriterExceptions.UOEDirectory
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestConcurrentMergeScheduler.java32 boolean doFail; field in class:TestConcurrentMergeScheduler.FailOnlyOnFlush
37 this.doFail = true;
42 this.doFail = false;
47 if (doFail && isTestThread()) {
H A DTestTransactions.java33 private static volatile boolean doFail; field in class:TestTransactions
38 if (TestTransactions.doFail && random.nextInt() % 10 <= 3)
117 TestTransactions.doFail = true;
139 TestTransactions.doFail = false;
H A DTestFieldsReader.java71 FaultyIndexInput.doFail = false;
445 static boolean doFail; field in class:TestFieldsReader.FaultyIndexInput
452 if (doFail && count++ % 2 == 1) {
495 FaultyIndexInput.doFail = true;
H A DTestIndexWriterExceptions.java85 doFail.set(this);
120 doFail.set(null);
137 ThreadLocal<Thread> doFail = new ThreadLocal<Thread>(); field in class:TestIndexWriterExceptions
148 if (doFail.get() != null && !name.equals("startDoFlush") && r.nextInt(40) == 17) {
266 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter2
270 if (doFail && name.equals("DocumentsWriter.ThreadState.init start"))
309 w.doFail = true;
359 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter3
364 if (doFail && name.equals("startMergeInit")) {
380 w.doFail
466 boolean doFail = false; field in class:TestIndexWriterExceptions.FailOnlyOnFlush
932 boolean doFail; field in class:TestIndexWriterExceptions.MockIndexWriter4
[all...]
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java670 protected boolean doFail; field in class:MockDirectoryWrapper.Failure
673 doFail = true;
677 doFail = false;
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java571 protected boolean doFail; field in class:MockDirectoryWrapper.Failure
574 doFail = true;
578 doFail = false;

Completed in 40 milliseconds