Use Strict version check for VersionCompatibilityTests
This changes the loose usage of onOrBefore to equals so that when we add beta1, this test fails again. Original commit: elastic/x-pack-elasticsearch@fe4f2cbdf0
This commit is contained in:
parent
fd62b2308e
commit
68728e6bee
|
@ -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_alpha2), is(true));
|
||||
Version.CURRENT.equals(Version.V_5_0_0), is(true));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue