Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

991: Add 8u270 to the hgupdater exclusion list #1135

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -337,10 +337,13 @@ private static boolean onExcludeList(Issue issue) {

var version = fixVersion.get();

// 8u260 is a contingency release
// 8u260 and 8u270 are contingency releases
if (version.raw().equals("8u260")) {
return true;
}
if (version.raw().equals("8u270")) {
return true;
}

// 8u41 to 8u44 are reserved for JSR maintenance releases
if (version.feature().equals("8") && version.interim().isPresent() && Integer.parseInt(version.interim().get()) >= 41 && Integer.parseInt(version.interim().get()) <= 44) {
@@ -780,4 +780,15 @@ void testBpr(TestInfo testInfo) throws IOException {
backports.assertLabeled("8u291", "8u301");
}
}

@Test
void test8u270(TestInfo testInfo) throws IOException {
try (var credentials = new HostCredentials(testInfo)) {
var backports = new BackportManager(credentials, "8u270");
backports.assertLabeled();

backports.addBackports("8u271", "8u281");
backports.assertLabeled("8u281");
}
}
}