mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Fix min supported version
This commit is contained in:
parent
61c7302bfb
commit
9a662de422
@ -95,7 +95,7 @@ public class RestoreBackwardsCompatIT extends AbstractSnapshotIntegTestCase {
|
||||
if (Modifier.isStatic(field.getModifiers()) && field.getType() == Version.class) {
|
||||
Version v = (Version) field.get(Version.class);
|
||||
if (v.snapshot()) continue;
|
||||
if (v.onOrBefore(Version.V_1_0_0_Beta1)) continue;
|
||||
if (v.onOrBefore(Version.V_2_0_0_beta1)) continue;
|
||||
if (v.equals(Version.CURRENT)) continue;
|
||||
|
||||
expectedVersions.add(v.toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user