From 07406f3dbf366faacc7d44cf6c4688f930422bd2 Mon Sep 17 00:00:00 2001 From: Varun Jain Date: Tue, 2 Jul 2024 11:27:08 -0700 Subject: [PATCH] Update bwc workflow to include 2.16.0-SNAPSHOT (#809) * Increment BWC version Signed-off-by: Varun Jain * Append 2.16.0-SNAPSHOTn in restart upgrade tests Signed-off-by: Varun Jain --------- Signed-off-by: Varun Jain --- .github/workflows/backwards_compatibility_tests_workflow.yml | 4 ++-- gradle.properties | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/backwards_compatibility_tests_workflow.yml b/.github/workflows/backwards_compatibility_tests_workflow.yml index f298c4a82..743106b1f 100644 --- a/.github/workflows/backwards_compatibility_tests_workflow.yml +++ b/.github/workflows/backwards_compatibility_tests_workflow.yml @@ -15,7 +15,7 @@ jobs: matrix: java: [ 11, 17, 21 ] os: [ubuntu-latest,windows-latest] - bwc_version : ["2.9.0","2.10.0","2.11.0","2.12.0","2.13.0","2.14.0"] + bwc_version : ["2.9.0","2.10.0","2.11.0","2.12.0","2.13.0","2.14.0","2.15.0","2.16.0-SNAPSHOT"] opensearch_version : [ "3.0.0-SNAPSHOT" ] name: NeuralSearch Restart-Upgrade BWC Tests @@ -42,7 +42,7 @@ jobs: matrix: java: [ 11, 17, 21 ] os: [ubuntu-latest,windows-latest] - bwc_version: [ "2.15.0-SNAPSHOT" ] + bwc_version: [ "2.16.0-SNAPSHOT" ] opensearch_version: [ "3.0.0-SNAPSHOT" ] name: NeuralSearch Rolling-Upgrade BWC Tests diff --git a/gradle.properties b/gradle.properties index b333f226c..2aff2ebf1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,8 +7,8 @@ # https://github.com/opensearch-project/OpenSearch/blob/main/libs/core/src/main/java/org/opensearch/Version.java . # Wired compatibility of OpenSearch works like 3.x version is compatible with 2.(latest-major) version. # Therefore, to run rolling-upgrade BWC Test on local machine the BWC version here should be set 2.(latest-major). -systemProp.bwc.version=2.15.0-SNAPSHOT -systemProp.bwc.bundle.version=2.15.0 +systemProp.bwc.version=2.16.0-SNAPSHOT +systemProp.bwc.bundle.version=2.16.0 # For fixing Spotless check with Java 17 org.gradle.jvmargs=--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \