Remove unreleased version, these versons should be added once they are released
This commit is contained in:
parent
27ff4f327c
commit
51de39f21b
|
@ -87,10 +87,6 @@ public class Version {
|
|||
public static final Version V_5_0_0_alpha5 = new Version(V_5_0_0_alpha5_ID, org.apache.lucene.util.Version.LUCENE_6_1_0);
|
||||
public static final int V_5_0_0_alpha6_ID = 5000006;
|
||||
public static final Version V_5_0_0_alpha6 = new Version(V_5_0_0_alpha6_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
|
||||
public static final int V_5_0_0_beta1_ID = 5000026;
|
||||
public static final Version V_5_0_0_beta1 = new Version(V_5_0_0_beta1_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
|
||||
public static final int V_5_0_0_ID = 5000099;
|
||||
public static final Version V_5_0_0 = new Version(V_5_0_0_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
|
||||
public static final int V_6_0_0_alpha1_ID = 6000001;
|
||||
public static final Version V_6_0_0_alpha1 = new Version(V_6_0_0_alpha1_ID, org.apache.lucene.util.Version.LUCENE_6_2_0);
|
||||
public static final Version CURRENT = V_6_0_0_alpha1;
|
||||
|
@ -108,10 +104,6 @@ public class Version {
|
|||
switch (id) {
|
||||
case V_6_0_0_alpha1_ID:
|
||||
return V_6_0_0_alpha1;
|
||||
case V_5_0_0_ID:
|
||||
return V_5_0_0;
|
||||
case V_5_0_0_beta1_ID:
|
||||
return V_5_0_0_beta1;
|
||||
case V_5_0_0_alpha6_ID:
|
||||
return V_5_0_0_alpha6;
|
||||
case V_5_0_0_alpha5_ID:
|
||||
|
|
|
@ -184,7 +184,6 @@ public class OldIndexBackwardsCompatibilityIT extends ESIntegTestCase {
|
|||
SortedSet<String> expectedVersions = new TreeSet<>();
|
||||
for (Version v : VersionUtils.allVersions()) {
|
||||
if (VersionUtils.isSnapshot(v)) continue; // snapshots are unreleased, so there is no backcompat yet
|
||||
if (v.onOrBefore(Version.V_5_0_0)) continue; // we have not yet released this
|
||||
if (v.isAlpha()) continue; // no guarantees for alpha releases
|
||||
if (v.onOrBefore(Version.V_2_0_0_beta1)) continue; // we can only test back one major lucene version
|
||||
if (v.equals(Version.CURRENT)) continue; // the current version is always compatible with itself
|
||||
|
|
|
@ -98,7 +98,6 @@ public class RestoreBackwardsCompatIT extends AbstractSnapshotIntegTestCase {
|
|||
if (VersionUtils.isSnapshot(v)) continue; // snapshots are unreleased, so there is no backcompat yet
|
||||
if (v.isAlpha()) continue; // no guarantees for alpha releases
|
||||
if (v.onOrBefore(Version.V_2_0_0_beta1)) continue; // we can only test back one major lucene version
|
||||
if (v.onOrBefore(Version.V_5_0_0)) continue; // we have not yet released this
|
||||
if (v.equals(Version.CURRENT)) continue; // the current version is always compatible with itself
|
||||
expectedVersions.add(v.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue