Skip to content

Commit 7514526

Browse files
authored
Convert packaging upgrade tests to java (#60560) (#60680)
This commit removes the last of the bats tests, converting the rpm/deb upgrade tests to java. It adds a new pattern of tasks, similar in nature but separate from the existing distro tests, named `distroUpgradeTest`. For each index compatible version, a `distroUpgradeTest.VERSION` task exxists. Each distribution then has a task, named `distroUpgradeTest.VERSION.DISTRO`. One thing to note is these new tests do not cover no-jdk versions of the rpm/deb packages, since the distribution/bwc project does not currently build those. closes #59145 closes #46005
1 parent 3a9bf33 commit 7514526

File tree

12 files changed

+355
-1617
lines changed

12 files changed

+355
-1617
lines changed

buildSrc/src/main/java/org/elasticsearch/gradle/ElasticsearchDistribution.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,6 @@ public Iterator<File> iterator() {
244244
return configuration.iterator();
245245
}
246246

247-
// TODO: remove this when distro tests are per distribution
248-
public Configuration getConfiguration() {
249-
return configuration;
250-
}
251-
252247
// internal, make this distribution's configuration unmodifiable
253248
void finalizeValues() {
254249

buildSrc/src/main/java/org/elasticsearch/gradle/test/BatsTestTask.java

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)