diff options
author | Ryan Ernst <ryan@iernst.net> | 2017-02-28 13:05:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 13:05:44 -0800 |
commit | dc0e93ed6238e5df6c66206b9f31cdc162db166a (patch) | |
tree | 242689aa3ce2921972a8e3c0e5208f7ac63ba796 /core/src/test/java/org/elasticsearch/index/refresh | |
parent | 1c44f4d62bed75ef00c37e0d186c2c1bdafb3923 (diff) |
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.
Diffstat (limited to 'core/src/test/java/org/elasticsearch/index/refresh')
-rw-r--r-- | core/src/test/java/org/elasticsearch/index/refresh/RefreshStatsTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
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<RefreshStats> 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()); |