Skip to content

Apache Lucene open-source search software

fix failing test: 6.0 has back compat support in 7.0 ;)

Mike McCandlessdd8c199c0b36
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
index 6c14efec626..f979c30b4d5 100644
--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
+++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
@@ -215,8 +215,9 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
dir.close();
}
- // TODO: on 6.0.0 release, gen the indices and add here:
final static String[] oldNames = {
+ "6.0.0-cfs",
+ "6.0.0-nocfs"
};
final String[] unsupportedNames = {
@@ -342,8 +343,6 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
"5.4.1-nocfs",
"5.5.0-cfs",
"5.5.0-nocfs",
- "6.0.0-cfs",
- "6.0.0-nocfs"
};
// TODO: on 6.0.0 release, gen the single segment indices and add here: