Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Version.compareMajor instead of using equals operator (#1876)
This test fails due to equality check of majors between OpenSearch Version 1.x and LegacyESVersion 7.x. They should be equivalent but in this case the check fails and LegacyVersion.v6.8.x is chosen which was removed in 52508d5. This change fixes the comparison logic by using `Version.compareMajor` method instead. Signed-off-by: Rabi Panda <[email protected]>
- Loading branch information