You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/06/12 22:56:24 UTC

svn commit: r1349522 - /lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java

Author: rmuir
Date: Tue Jun 12 20:56:24 2012
New Revision: 1349522

URL: http://svn.apache.org/viewvc?rev=1349522&view=rev
Log:
LUCENE-4085: enable the exclusions now, because we call addDoc not just when generating indexes

Modified:
    lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java

Modified: lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java?rev=1349522&r1=1349521&r2=1349522&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Tue Jun 12 20:56:24 2012
@@ -74,10 +74,8 @@ import org.junit.BeforeClass;
 */
 // 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")
-// NOTE: when changing this to test the 4.0 format, enable the line below instead.
-// Sep codec cannot yet handle the offsets in our 4.x index!
-//@SuppressCodecs({"Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock", "MockSep", "MockRandom"})
+// Sep codec cannot yet handle the offsets we add when changing indexes!
+@SuppressCodecs({"Lucene3x", "MockFixedIntBlock", "MockVariableIntBlock", "MockSep", "MockRandom"})
 public class TestBackwardsCompatibility extends LuceneTestCase {
 
   // Uncomment these cases & run them on an older Lucene