diff options
Diffstat (limited to 'core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java')
-rw-r--r-- | core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java b/core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java index 5aa6b904f8..21dd76b67e 100644 --- a/core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java +++ b/core/src/test/java/org/elasticsearch/bwcompat/OldIndexBackwardsCompatibilityIT.java @@ -176,7 +176,8 @@ public class OldIndexBackwardsCompatibilityIT extends ESIntegTestCase { public void testAllVersionsTested() throws Exception { SortedSet<String> expectedVersions = new TreeSet<>(); for (Version v : VersionUtils.allReleasedVersions()) { - if (VersionUtils.isSnapshot(v)) continue; // snapshots are unreleased, so there is no backcompat yet + // The current version is in the "released" list even though it isn't released for historical reasons + if (v == Version.CURRENT) continue; if (v.isRelease() == false) continue; // no guarantees for prereleases if (v.before(Version.CURRENT.minimumIndexCompatibilityVersion())) continue; // we can only support one major version backward if (v.equals(Version.CURRENT)) continue; // the current version is always compatible with itself |