diff --git a/src/main/java/org/opensearchmetrics/metrics/release/ReleaseInputs.java b/src/main/java/org/opensearchmetrics/metrics/release/ReleaseInputs.java index b1caa15..11d5433 100644 --- a/src/main/java/org/opensearchmetrics/metrics/release/ReleaseInputs.java +++ b/src/main/java/org/opensearchmetrics/metrics/release/ReleaseInputs.java @@ -7,7 +7,7 @@ public enum ReleaseInputs { VERSION_2_14_0("2.14.0", "closed", "2.14", false), VERSION_2_15_0("2.15.0", "closed", "2.15", true), VERSION_2_16_0("2.16.0", "closed", "2.16", true), - VERSION_2_17_0("2.17.0", "open", "2.x", true), + VERSION_2_17_0("2.17.0", "closed", "2.17", true), VERSION_1_3_15("1.3.15", "closed", "1.3", false), VERSION_1_3_16("1.3.16", "closed", "1.3", false), VERSION_1_3_17("1.3.17", "closed", "1.3", false), diff --git a/src/test/java/org/opensearchmetrics/metrics/release/ReleaseInputsTest.java b/src/test/java/org/opensearchmetrics/metrics/release/ReleaseInputsTest.java index e165341..0780839 100644 --- a/src/test/java/org/opensearchmetrics/metrics/release/ReleaseInputsTest.java +++ b/src/test/java/org/opensearchmetrics/metrics/release/ReleaseInputsTest.java @@ -31,7 +31,7 @@ public void testGetState() { assertEquals("closed", ReleaseInputs.VERSION_2_14_0.getState()); assertEquals("closed", ReleaseInputs.VERSION_2_15_0.getState()); assertEquals("closed", ReleaseInputs.VERSION_2_16_0.getState()); - assertEquals("open", ReleaseInputs.VERSION_2_17_0.getState()); + assertEquals("closed", ReleaseInputs.VERSION_2_17_0.getState()); assertEquals("closed", ReleaseInputs.VERSION_1_3_15.getState()); assertEquals("closed", ReleaseInputs.VERSION_1_3_16.getState()); assertEquals("closed", ReleaseInputs.VERSION_1_3_17.getState()); @@ -47,7 +47,7 @@ public void testGetBranch() { assertEquals("2.14", ReleaseInputs.VERSION_2_14_0.getBranch()); assertEquals("2.15", ReleaseInputs.VERSION_2_15_0.getBranch()); assertEquals("2.16", ReleaseInputs.VERSION_2_16_0.getBranch()); - assertEquals("2.x", ReleaseInputs.VERSION_2_17_0.getBranch()); + assertEquals("2.17", ReleaseInputs.VERSION_2_17_0.getBranch()); assertEquals("1.3", ReleaseInputs.VERSION_1_3_15.getBranch()); assertEquals("1.3", ReleaseInputs.VERSION_1_3_16.getBranch()); assertEquals("1.3", ReleaseInputs.VERSION_1_3_17.getBranch());