Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit dc543834ea046111430adec8802429730fd92548 1 parent 8c19d5e
@rmuir rmuir authored
View
5 lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
@@ -51,6 +51,7 @@
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 @@
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
Please sign in to comment.
Something went wrong with that request. Please try again.