avoid using preflexrw when running testbackcompat, otherwise we arent actually testing back compat

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337584 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-05-12 16:07:16 +00:00
parent b831e55acc
commit 42ebab7867
1 changed files with 4 additions and 1 deletions

View File

@ -51,6 +51,7 @@ import org.apache.lucene.util.Bits;
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.Constants;
import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.LuceneTestCase.SuppressCodecs;
import org.apache.lucene.util._TestUtil;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@ -59,7 +60,9 @@ import org.junit.BeforeClass;
Verify we can read the pre-4.0 file format, do searches
against it, and add documents to it.
*/
// don't use 3.x codec, its unrealistic since it means
// we won't even be running the actual code, only the impostor
@SuppressCodecs("Lucene3x")
public class TestBackwardsCompatibility extends LuceneTestCase {
// Uncomment these cases & run them on an older Lucene