diff --git a/.ci/bwcVersions b/.ci/bwcVersions index 091e3373f8087..23e8002827b9b 100644 --- a/.ci/bwcVersions +++ b/.ci/bwcVersions @@ -81,4 +81,5 @@ BWC_VERSION: - "1.2.0" - "1.2.1" - "1.2.2" + - "1.2.3" - "1.3.0" diff --git a/server/src/main/java/org/opensearch/Version.java b/server/src/main/java/org/opensearch/Version.java index af39ba7c77482..e29a28c9744c7 100644 --- a/server/src/main/java/org/opensearch/Version.java +++ b/server/src/main/java/org/opensearch/Version.java @@ -77,6 +77,7 @@ public class Version implements Comparable, ToXContentFragment { public static final Version V_1_2_0 = new Version(1020099, org.apache.lucene.util.Version.LUCENE_8_10_1); public static final Version V_1_2_1 = new Version(1020199, org.apache.lucene.util.Version.LUCENE_8_10_1); public static final Version V_1_2_2 = new Version(1020299, org.apache.lucene.util.Version.LUCENE_8_10_1); + public static final Version V_1_2_3 = new Version(1020399, org.apache.lucene.util.Version.LUCENE_8_10_1); public static final Version V_1_3_0 = new Version(1030099, org.apache.lucene.util.Version.LUCENE_8_10_1); public static final Version V_2_0_0 = new Version(2000099, org.apache.lucene.util.Version.LUCENE_8_10_1); public static final Version CURRENT = V_2_0_0; diff --git a/server/src/test/java/org/opensearch/BuildTests.java b/server/src/test/java/org/opensearch/BuildTests.java index b6bd38ec1df51..70c524f44f6a1 100644 --- a/server/src/test/java/org/opensearch/BuildTests.java +++ b/server/src/test/java/org/opensearch/BuildTests.java @@ -179,7 +179,7 @@ public void testEqualsAndHashCode() { ); assertNotEquals(build, differentSnapshot); - Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "1.2.3", build.getDistribution()); + Build differentVersion = new Build(build.type(), build.hash(), build.date(), build.isSnapshot(), "0.1.2", build.getDistribution()); assertNotEquals(build, differentVersion); }