From dc0e93ed6238e5df6c66206b9f31cdc162db166a Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Tue, 28 Feb 2017 13:05:44 -0800 Subject: Internal: Change version constant names for already released versions (#23416) We have many version constants in master that have already been released, but are still marked (by naming convention) as unreleased. This commit renames those version constants. --- .../test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/test/java/org/elasticsearch/index/refresh') diff --git a/core/src/test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java b/core/src/test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java index 91ac42628e..e19c21e852 100644 --- a/core/src/test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java +++ b/core/src/test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java @@ -37,10 +37,10 @@ public class RefreshStatsTests extends AbstractStreamableTestCase public void testPre5Dot2() throws IOException { // We can drop the compatibility once the assertion just below this list fails - assertTrue(Version.CURRENT.minimumCompatibilityVersion().before(Version.V_5_2_0_UNRELEASED)); + assertTrue(Version.CURRENT.minimumCompatibilityVersion().before(Version.V_5_2_0)); RefreshStats instance = createTestInstance(); - RefreshStats copied = copyInstance(instance, Version.V_5_1_1_UNRELEASED); + RefreshStats copied = copyInstance(instance, Version.V_5_1_1); assertEquals(instance.getTotal(), copied.getTotal()); assertEquals(instance.getTotalTimeInMillis(), copied.getTotalTimeInMillis()); assertEquals(0, copied.getListeners()); -- cgit v1.2.3