Set version 5.0.0-alpha1
Helping commit for changes in the core Original commit: elastic/x-pack-elasticsearch@73c8e19a29
This commit is contained in:
parent
84d27b52be
commit
2f267530a6
|
@ -18,7 +18,7 @@ public class VersionUtilsTests extends ESTestCase {
|
|||
public void testParseVersion() {
|
||||
List<Version> versions = randomSubsetOf(9, Version.V_2_0_0_beta1, Version.V_2_0_0_beta2, Version.V_2_0_0_rc1, Version.V_2_0_0,
|
||||
Version.V_2_0_1, Version.V_2_0_2, Version.V_2_1_0, Version.V_2_1_1, Version.V_2_1_2, Version.V_2_2_0, Version.V_2_3_0,
|
||||
Version.V_5_0_0);
|
||||
Version.V_5_0_0_alpha1);
|
||||
for (Version version : versions) {
|
||||
String output = createOutput(VersionUtils.VERSION_NUMBER_FIELD, version.toString());
|
||||
assertThat(VersionUtils.parseVersion(output.getBytes(StandardCharsets.UTF_8)), equalTo(version));
|
||||
|
|
|
@ -37,6 +37,6 @@ public class VersionCompatibilityTests extends ESTestCase {
|
|||
*
|
||||
*/
|
||||
assertThat("Remove workaround in LicenseService class when es core supports merging cluster level custom metadata",
|
||||
Version.CURRENT.onOrBefore(Version.V_5_0_0), is(true));
|
||||
Version.CURRENT.onOrBefore(Version.V_5_0_0_alpha1), is(true));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue