From 8851aadc41086c5f1f8a2a446d01a2ac2c062a59 Mon Sep 17 00:00:00 2001 From: "Daniel Doubrovkine (dB.)" Date: Fri, 17 Dec 2021 17:14:45 +0000 Subject: [PATCH] Add version 1.2.3. (#1759) Signed-off-by: dblock --- .ci/bwcVersions | 1 + server/src/main/java/org/opensearch/Version.java | 1 + server/src/test/java/org/opensearch/BuildTests.java | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/bwcVersions b/.ci/bwcVersions index 890beb10368d1..2053bbed47c62 100644 --- a/.ci/bwcVersions +++ b/.ci/bwcVersions @@ -81,3 +81,4 @@ BWC_VERSION: - "1.2.0" - "1.2.1" - "1.2.2" + - "1.2.3" diff --git a/server/src/main/java/org/opensearch/Version.java b/server/src/main/java/org/opensearch/Version.java index df96fc9654841..a5218840b6441 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 CURRENT = V_1_3_0; diff --git a/server/src/test/java/org/opensearch/BuildTests.java b/server/src/test/java/org/opensearch/BuildTests.java index 89a2184c11d64..4cac928119d32 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); }