Remove workaround for V2_0_0_beta1 in VersionTests
This commit is contained in:
parent
f20473a2e4
commit
312bf5a011
|
@ -203,10 +203,6 @@ public class VersionTests extends ESTestCase {
|
||||||
|
|
||||||
// only the latest version for a branch should be a snapshot (ie unreleased)
|
// only the latest version for a branch should be a snapshot (ie unreleased)
|
||||||
String branchName = "" + v.major + "." + v.minor;
|
String branchName = "" + v.major + "." + v.minor;
|
||||||
if (v.equals(Version.V_2_0_0_beta1)) {
|
|
||||||
assertTrue("Remove this once beta1 is released", v.snapshot());
|
|
||||||
continue; // this is just a temporary fix until we have a snapshot for the beta since we now have 2 unreleased version of the same major.minor group
|
|
||||||
}
|
|
||||||
Version maxBranchVersion = maxBranchVersions.get(branchName);
|
Version maxBranchVersion = maxBranchVersions.get(branchName);
|
||||||
if (maxBranchVersion == null) {
|
if (maxBranchVersion == null) {
|
||||||
maxBranchVersions.put(branchName, v);
|
maxBranchVersions.put(branchName, v);
|
||||||
|
|
Loading…
Reference in New Issue