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:
Chris Earle 2016-05-06 15:08:40 -04:00
parent fd62b2308e
commit 68728e6bee
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}
}