Index: lucene/core/src/test/org/apache/lucene/index/TestCheckIndex.java =================================================================== --- lucene/core/src/test/org/apache/lucene/index/TestCheckIndex.java (revision 1514200) +++ lucene/core/src/test/org/apache/lucene/index/TestCheckIndex.java (working copy) @@ -130,7 +130,7 @@ constantVersion = Constants.LUCENE_MAIN_VERSION; } assertTrue("Invalid version: "+version, - version.equals(constantVersion+"-SNAPSHOT") || + version.startsWith(constantVersion+"-") || version.equals(constantVersion)); assertTrue(Constants.LUCENE_VERSION + " should start with: "+version, Constants.LUCENE_VERSION.startsWith(version));