mirror of https://github.com/apache/lucene.git
disable the checkindex version test in backwards
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/branches/lucene_2_9_back_compat_tests@820359 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aed1f31fd6
commit
ce7761cb29
|
@ -90,6 +90,7 @@ public class TestCheckIndex extends LuceneTestCase {
|
|||
assertTrue(checker.checkIndex(onlySegments).clean == true);
|
||||
}
|
||||
|
||||
/* Does not work, because compilation puts final field from Constants of 2.9 into class file:
|
||||
public void testLuceneConstantVersion() throws IOException {
|
||||
// common-build.xml sets lucene.version
|
||||
final String version = System.getProperty("lucene.version");
|
||||
|
@ -97,5 +98,5 @@ public class TestCheckIndex extends LuceneTestCase {
|
|||
assertTrue(version.equals(Constants.LUCENE_MAIN_VERSION+"-dev") ||
|
||||
version.equals(Constants.LUCENE_MAIN_VERSION));
|
||||
assertTrue(Constants.LUCENE_VERSION.startsWith(version));
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue