summaryrefslogtreecommitdiff
path: root/core/src/test/java/org/elasticsearch/common
diff options
context:
space:
mode:
authorNik Everett <nik9000@gmail.com>2017-05-26 18:36:32 -0400
committerGitHub <noreply@github.com>2017-05-26 18:36:32 -0400
commit5da8ce8318efda1fdcc367d97dc294feaf6285cc (patch)
treed10df28af430fc4d384b40027d0bf46aab6a7429 /core/src/test/java/org/elasticsearch/common
parent23fb36cc879f17908445c8bd1415c2a4611c12ca (diff)
Remove the need for _UNRELEASED suffix in versions (#24798)
Removes the need for the `_UNRELEASED` suffix on versions by detecting if a version should be unreleased or not based on the versions around it. This should make it simpler to automate the task of adding a new version label.
Diffstat (limited to 'core/src/test/java/org/elasticsearch/common')
-rw-r--r--core/src/test/java/org/elasticsearch/common/settings/SettingsTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/java/org/elasticsearch/common/settings/SettingsTests.java b/core/src/test/java/org/elasticsearch/common/settings/SettingsTests.java
index 6eec34a90e..80ca8cc275 100644
--- a/core/src/test/java/org/elasticsearch/common/settings/SettingsTests.java
+++ b/core/src/test/java/org/elasticsearch/common/settings/SettingsTests.java
@@ -155,7 +155,7 @@ public class SettingsTests extends ESTestCase {
// time to say goodbye?
assertTrue(
"It's time to implement #22298. Please delete this test and Settings#getAsBooleanLenientForPreEs6Indices().",
- Version.CURRENT.minimumCompatibilityVersion().before(Version.V_6_0_0_alpha1_UNRELEASED));
+ Version.CURRENT.minimumCompatibilityVersion().before(Version.V_6_0_0_alpha1));
String falsy = randomFrom("false", "off", "no", "0");