From 275eff26a648d598886eb7af23f8de35f30f3066 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Thu, 2 Aug 2012 17:39:27 +0000 Subject: [PATCH] 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 --- .../test/org/apache/lucene/index/TestIndexWriterDelete.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java index 2ea4e9e70ca..a92c4902ae4 100644 --- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java +++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterDelete.java @@ -891,9 +891,12 @@ public class TestIndexWriterDelete extends LuceneTestCase { } 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"); 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 Direct codec", fieldFormat.equals("Direct")); final Random r = random(); Directory dir = newDirectory(); // note this test explicitly disables payloads