Skip to content

Commit

Permalink
avoid using preflexrw when running testbackcompat, otherwise we arent…
Browse files Browse the repository at this point in the history
… 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
rmuir committed May 12, 2012
1 parent 8c19d5e commit dc54383
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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;
Expand All @@ -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
Expand Down

0 comments on commit dc54383

Please sign in to comment.