Remove workaround for V2_0_0_beta1 in VersionTests

This commit is contained in:
Clinton Gormley 2015-09-17 15:48:05 +02:00
parent f20473a2e4
commit 312bf5a011
1 changed files with 11 additions and 15 deletions

View File

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