mirror of
https://github.com/apache/lucene.git
synced 2025-02-19 00:16:34 +00:00
disable ExtraFS for these tests
This commit is contained in:
parent
47fb35c20a
commit
5a4bb9f2a1
@ -30,12 +30,14 @@ import org.apache.lucene.store.IndexInput;
|
||||
import org.apache.lucene.store.IndexOutput;
|
||||
import org.apache.lucene.store.MockDirectoryWrapper;
|
||||
import org.apache.lucene.util.LineFileDocs;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressFileSystems;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
|
||||
/**
|
||||
* Test that a plain default detects broken index headers early (on opening a reader).
|
||||
*/
|
||||
@SuppressFileSystems("ExtrasFS")
|
||||
public class TestAllFilesCheckIndexHeader extends LuceneTestCase {
|
||||
public void test() throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
|
@ -30,12 +30,14 @@ import org.apache.lucene.store.IndexInput;
|
||||
import org.apache.lucene.store.IndexOutput;
|
||||
import org.apache.lucene.store.MockDirectoryWrapper;
|
||||
import org.apache.lucene.util.LineFileDocs;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressFileSystems;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
|
||||
/**
|
||||
* Test that a plain default detects index file truncation early (on opening a reader).
|
||||
*/
|
||||
@SuppressFileSystems("ExtrasFS")
|
||||
public class TestAllFilesDetectTruncation extends LuceneTestCase {
|
||||
public void test() throws Exception {
|
||||
Directory dir = newDirectory();
|
||||
|
@ -29,12 +29,14 @@ import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.IOContext;
|
||||
import org.apache.lucene.store.MockDirectoryWrapper;
|
||||
import org.apache.lucene.util.LineFileDocs;
|
||||
import org.apache.lucene.util.LuceneTestCase.SuppressFileSystems;
|
||||
import org.apache.lucene.util.LuceneTestCase;
|
||||
import org.apache.lucene.util.TestUtil;
|
||||
|
||||
/**
|
||||
* Test that the same file name, but from a different index, is detected as foreign.
|
||||
*/
|
||||
@SuppressFileSystems("ExtrasFS")
|
||||
public class TestSwappedIndexFiles extends LuceneTestCase {
|
||||
public void test() throws Exception {
|
||||
Directory dir1 = newDirectory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user