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:
Uwe Schindler 2009-09-30 17:35:06 +00:00
parent aed1f31fd6
commit ce7761cb29
1 changed files with 2 additions and 1 deletions

View File

@ -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));
}
}*/
}