Searched refs:crash (Results 1 - 4 of 4) sorted by relevance

/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestCrash.java58 private void crash(final IndexWriter writer) throws IOException { method in class:TestCrash
62 dir.crash();
73 crash(writer);
87 crash(writer);
103 crash(writer);
126 dir.crash();
148 dir.crash();
171 dir.crash();
196 dir.crash();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestCrash.java58 private void crash(final IndexWriter writer) throws IOException { method in class:TestCrash
62 dir.crash();
73 crash(writer);
87 crash(writer);
103 crash(writer);
126 dir.crash();
148 dir.crash();
171 dir.crash();
196 dir.crash();
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java82 // use this for tracking files for crash.
145 throw new IOException("cannot sync after crash");
168 throw new IOException("cannot sync after crash");
197 /** Simulates a crash of OS or machine by overwriting
199 public synchronized void crash() throws IOException { method in class:MockDirectoryWrapper
383 throw new IOException("cannot delete after crash");
415 throw new IOException("cannot createOutput after crash");
425 throw new IOException("cannot createOutput after crash");
557 System.out.println("\nNOTE: MockDirectoryWrapper: now crash");
559 crash(); // corrump
[all...]
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/store/
H A DMockDirectoryWrapper.java79 // use this for tracking files for crash.
142 throw new IOException("cannot sync after crash");
165 throw new IOException("cannot sync after crash");
191 /** Simulates a crash of OS or machine by overwriting
193 public synchronized void crash() throws IOException { method in class:MockDirectoryWrapper
339 throw new IOException("cannot delete after crash");
371 throw new IOException("cannot createOutput after crash");
381 throw new IOException("cannot createOutput after crash");
515 // Could be null when crash() was called

Completed in 12 milliseconds