/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestThreadedForceMerge.java | 43 private volatile boolean failed; field in class:TestThreadedForceMerge 46 failed = true; 109 assertTrue(!failed);
|
H A D | TestIndexWriterNRTIsCurrent.java | 58 boolean failed = writerThread.failed != null; 59 if (failed) 60 writerThread.failed.printStackTrace(); 63 if (threads[i].failed != null) { 64 threads[i].failed.printStackTrace(); 65 failed = true; 68 assertFalse(failed); 81 Throwable failed; field in class:TestIndexWriterNRTIsCurrent.WriterThread 133 failed 156 Throwable failed; field in class:TestIndexWriterNRTIsCurrent.ReaderThread [all...] |
H A D | TestAtomicUpdate.java | 48 volatile boolean failed; field in class:TestAtomicUpdate.TimedThread 74 failed = true; 80 if (allThreads[i] != null && allThreads[i].failed) 175 assertTrue("hit unexpected exception in indexer", !indexerThread.failed); 176 assertTrue("hit unexpected exception in indexer2", !indexerThread2.failed); 177 assertTrue("hit unexpected exception in search1", !searcherThread1.failed); 178 assertTrue("hit unexpected exception in search2", !searcherThread2.failed);
|
H A D | TestStressIndexing.java | 28 volatile boolean failed; field in class:TestStressIndexing.TimedThread 54 failed = true; 60 if (allThreads[i] != null && allThreads[i].failed) 156 assertTrue(! threads[i].failed);
|
H A D | TestTransactions.java | 44 volatile boolean failed; field in class:TestTransactions.TimedThread 66 failed = true; 72 if (allThreads[i] != null && allThreads[i].failed) 235 assertTrue(!threads[i].failed);
|
H A D | TestIndexWriterWithThreads.java | 184 fail("thread failed before indexing a single document"); 424 assertFalse("Failed due to: " + thread1.failure, thread1.failed); 425 assertFalse("Failed due to: " + thread2.failure, thread2.failed); 437 boolean failed = false; field in class:TestIndexWriterWithThreads.DelayedIndexAndCloseRunnable 466 failed = true;
|
H A D | TestIndexReader.java | 420 fail("deleteDocument after close failed to throw IOException"); 427 fail("setNorm after close failed to throw IOException"); 434 fail("undeleteAll after close failed to throw IOException"); 441 // Make sure we get lock obtain failed exception with 2 writers: 552 assertFalse("failed to remove first generation norms file on writing second generation", 566 fail("opening IndexReader on empty directory failed to produce FileNotFoundException"); 715 fail("delete of out-of-bounds doc number failed to hit exception"); 1394 assertNull(threads[i].failed); 1404 Throwable failed; field in class:TestIndexReader.IncThread 1420 failed [all...] |
H A D | TestIndexWriterExceptions.java | 362 boolean failed; field in class:TestIndexWriterExceptions.MockIndexWriter3 367 failed = true; 394 assertTrue(w.failed); 996 fail("segmentInfos failed to retry fallback to correct segments_N file"); 1085 assertTrue("failed to find cfs file to remove", corrupted); 1142 fail("reader failed to open on a crashed index"); 1150 fail("writer failed to open on a crashed index");
|
H A D | TestIndexWriter.java | 1256 volatile boolean failed; field in class:TestIndexWriter.IndexerThreadInterrupt 1316 failed = true; 1321 if (!failed) { 1335 failed = true; 1344 failed = true; 1382 assertFalse(t.failed); 1612 // then IndexWriter ctor succeeds. Previously (LUCENE-2386) it failed
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestThreadedForceMerge.java | 43 private volatile boolean failed; field in class:TestThreadedForceMerge 46 failed = true; 109 assertTrue(!failed);
|
H A D | TestIndexWriterNRTIsCurrent.java | 58 boolean failed = writerThread.failed != null; 59 if (failed) 60 writerThread.failed.printStackTrace(); 63 if (threads[i].failed != null) { 64 threads[i].failed.printStackTrace(); 65 failed = true; 68 assertFalse(failed); 81 Throwable failed; field in class:TestIndexWriterNRTIsCurrent.WriterThread 133 failed 156 Throwable failed; field in class:TestIndexWriterNRTIsCurrent.ReaderThread [all...] |
H A D | TestAtomicUpdate.java | 48 volatile boolean failed; field in class:TestAtomicUpdate.TimedThread 74 failed = true; 80 if (allThreads[i] != null && allThreads[i].failed) 175 assertTrue("hit unexpected exception in indexer", !indexerThread.failed); 176 assertTrue("hit unexpected exception in indexer2", !indexerThread2.failed); 177 assertTrue("hit unexpected exception in search1", !searcherThread1.failed); 178 assertTrue("hit unexpected exception in search2", !searcherThread2.failed);
|
H A D | TestStressIndexing.java | 28 volatile boolean failed; field in class:TestStressIndexing.TimedThread 54 failed = true; 60 if (allThreads[i] != null && allThreads[i].failed) 156 assertTrue(! threads[i].failed);
|
H A D | TestTransactions.java | 44 volatile boolean failed; field in class:TestTransactions.TimedThread 66 failed = true; 72 if (allThreads[i] != null && allThreads[i].failed) 235 assertTrue(!threads[i].failed);
|
H A D | TestIndexWriterWithThreads.java | 183 fail("thread failed before indexing a single document"); 423 assertFalse("Failed due to: " + thread1.failure, thread1.failed); 424 assertFalse("Failed due to: " + thread2.failure, thread2.failed); 436 boolean failed = false; field in class:TestIndexWriterWithThreads.DelayedIndexAndCloseRunnable 465 failed = true;
|
H A D | TestIndexReader.java | 349 fail("deleteDocument after close failed to throw IOException"); 356 fail("setNorm after close failed to throw IOException"); 363 fail("undeleteAll after close failed to throw IOException"); 370 // Make sure we get lock obtain failed exception with 2 writers: 481 assertFalse("failed to remove first generation norms file on writing second generation", 495 fail("opening IndexReader on empty directory failed to produce FileNotFoundException"); 644 fail("delete of out-of-bounds doc number failed to hit exception"); 1257 assertNull(threads[i].failed); 1267 Throwable failed; field in class:TestIndexReader.IncThread 1283 failed [all...] |
H A D | TestIndexWriterExceptions.java | 360 boolean failed; field in class:TestIndexWriterExceptions.MockIndexWriter3 365 failed = true; 392 assertTrue(w.failed);
|
H A D | TestIndexWriter.java | 1358 volatile boolean failed; field in class:TestIndexWriter.IndexerThreadInterrupt 1418 failed = true; 1423 if (!failed) { 1437 failed = true; 1446 failed = true; 1484 assertFalse(t.failed); 1714 // then IndexWriter ctor succeeds. Previously (LUCENE-2386) it failed
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestThreadSafe.java | 41 final AtomicBoolean failed; field in class:TestThreadSafe.Thr 44 public Thr(int iter, Random rand, AtomicBoolean failed) { argument 47 this.failed = failed; 65 failed.set(true); 128 AtomicBoolean failed = new AtomicBoolean(); 130 tarr[i] = new Thr(iter, new Random(random.nextLong()), failed); 136 assertFalse(failed.get());
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | TestDoubleBarrelLRUCache.java | 68 volatile boolean failed; field in class:TestDoubleBarrelLRUCache.CacheThread 104 failed = true; 136 assert !threads[i].failed;
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestThreadSafe.java | 41 final AtomicBoolean failed; field in class:TestThreadSafe.Thr 44 public Thr(int iter, Random rand, AtomicBoolean failed) { argument 47 this.failed = failed; 65 failed.set(true); 128 AtomicBoolean failed = new AtomicBoolean(); 130 tarr[i] = new Thr(iter, new Random(random.nextLong()), failed); 136 assertFalse(failed.get());
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
H A D | TestDoubleBarrelLRUCache.java | 68 volatile boolean failed; field in class:TestDoubleBarrelLRUCache.CacheThread 104 failed = true; 136 assert !threads[i].failed;
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/spell/ |
H A D | TestSpellChecker.java | 439 assertFalse(String.format("worker thread %d failed", i), workers[i].failed); 485 volatile boolean failed = false; field in class:TestSpellChecker.SpellCheckWorker 503 failed = true;
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/ |
H A D | ThreadedIndexingAndSearchingTestCase.java | 60 protected final AtomicBoolean failed = new AtomicBoolean(); field in class:ThreadedIndexingAndSearchingTestCase 132 while(System.currentTimeMillis() < stopTime && !failed.get()) { 302 failed.set(true); 377 failed.set(true); 405 failed.set(false); 506 assertFalse(failed.get());
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/ |
H A D | ThreadedIndexingAndSearchingTestCase.java | 60 protected final AtomicBoolean failed = new AtomicBoolean(); field in class:ThreadedIndexingAndSearchingTestCase 132 while(System.currentTimeMillis() < stopTime && !failed.get()) { 302 failed.set(true); 390 failed.set(true); 418 failed.set(false); 519 assertFalse(failed.get());
|