diff --git a/server/src/main/java/org/elasticsearch/ReleaseVersions.java b/server/src/main/java/org/elasticsearch/ReleaseVersions.java index 6e7cf6c428cd6..7b5c8d1d42382 100644 --- a/server/src/main/java/org/elasticsearch/ReleaseVersions.java +++ b/server/src/main/java/org/elasticsearch/ReleaseVersions.java @@ -105,14 +105,15 @@ private static IntFunction lookupFunction(NavigableMap versions = ReleaseVersions.generateVersionsLookup(ReleaseVersionsTests.class); assertThat(versions.apply(17), equalTo("8.1.2-8.2.0")); - assertThat(versions.apply(9), equalTo("0.0.0-8.0.0")); + assertThat(versions.apply(9), equalTo("0.0.0")); assertThat(versions.apply(24), equalTo("8.2.2-snapshot[24]")); } }