mirror of https://github.com/apache/lucene.git
prevent test from getting Direct postingsformat either
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1368614 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a04534c399
commit
275eff26a6
|
@ -891,9 +891,12 @@ public class TestIndexWriterDelete extends LuceneTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testIndexingThenDeleting() throws Exception {
|
public void testIndexingThenDeleting() throws Exception {
|
||||||
|
// TODO: move this test to its own class and just @SuppressCodecs?
|
||||||
|
// TODO: is it enough to just use newFSDirectory?
|
||||||
final String fieldFormat = _TestUtil.getPostingsFormat("field");
|
final String fieldFormat = _TestUtil.getPostingsFormat("field");
|
||||||
assumeFalse("This test cannot run with Memory codec", fieldFormat.equals("Memory"));
|
assumeFalse("This test cannot run with Memory codec", fieldFormat.equals("Memory"));
|
||||||
assumeFalse("This test cannot run with SimpleText codec", fieldFormat.equals("SimpleText"));
|
assumeFalse("This test cannot run with SimpleText codec", fieldFormat.equals("SimpleText"));
|
||||||
|
assumeFalse("This test cannot run with Direct codec", fieldFormat.equals("Direct"));
|
||||||
final Random r = random();
|
final Random r = random();
|
||||||
Directory dir = newDirectory();
|
Directory dir = newDirectory();
|
||||||
// note this test explicitly disables payloads
|
// note this test explicitly disables payloads
|
||||||
|
|
Loading…
Reference in New Issue