You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2015/02/23 10:01:59 UTC
svn commit: r1661622 - in
/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index:
TestBackwardsCompatibility.java dvupdates.5.0.0.zip
index.5.0.0.singlesegment-cfs.zip index.5.0.0.singlesegment-nocfs.zip
moreterms.5.0.0.zip
Author: jpountz
Date: Mon Feb 23 09:01:58 2015
New Revision: 1661622
URL: http://svn.apache.org/r1661622
Log:
Add moreterms and dvupdates indices for backward-compatibility tests.
Added:
lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip (with props)
lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip (with props)
lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip (with props)
lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip (with props)
Modified:
lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
Modified: lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java?rev=1661622&r1=1661621&r2=1661622&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java (original)
+++ lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java Mon Feb 23 09:01:58 2015
@@ -75,7 +75,6 @@ import org.apache.lucene.util.TestUtil;
import org.apache.lucene.util.Version;
import org.junit.AfterClass;
import org.junit.BeforeClass;
-import org.junit.Ignore;
/*
Verify we can read the pre-5.0 file format, do searches
@@ -84,7 +83,7 @@ import org.junit.Ignore;
public class TestBackwardsCompatibility extends LuceneTestCase {
// To generate backcompat indexes with the current default codec, run the following ant command:
- // ant test -Dtestcase=TestBackwardsCompatibility -Dbwc.indexdir=/path/to/store/indexes
+ // ant test -Dtestcase=TestBackwardsCompatibility -Dtests.bwcdir=/path/to/store/indexes
// -Dtests.codec=default -Dtests.useSecurityManager=false
// Also add testmethod with one of the index creation methods below, for example:
// -Dtestmethod=testCreateCFS
@@ -312,6 +311,8 @@ public class TestBackwardsCompatibility
};
final static String[] oldSingleSegmentNames = {
+ "5.0.0.singlesegment-cfs",
+ "5.0.0.singlesegment-nocfs"
};
static Map<String,Directory> oldIndexDirs;
@@ -1228,7 +1229,6 @@ public class TestBackwardsCompatibility
public static final String moreTermsIndex = "moreterms.5.0.0.zip";
- @Ignore("needs a 5.0 index once released")
public void testMoreTerms() throws Exception {
Path oldIndexDir = createTempDir("moreterms");
TestUtil.unzip(getDataInputStream(moreTermsIndex), oldIndexDir);
@@ -1269,7 +1269,6 @@ public class TestBackwardsCompatibility
reader.close();
}
- @Ignore("needs a 5.0 index once released")
public void testDocValuesUpdates() throws Exception {
Path oldIndexDir = createTempDir("dvupdates");
TestUtil.unzip(getDataInputStream(dvUpdatesIndex), oldIndexDir);
Added: lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip?rev=1661622&view=auto
==============================================================================
Binary file - no diff available.
Added: lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip?rev=1661622&view=auto
==============================================================================
Binary file - no diff available.
Added: lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip?rev=1661622&view=auto
==============================================================================
Binary file - no diff available.
Added: lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip?rev=1661622&view=auto
==============================================================================
Binary file - no diff available.