Skip to content

Commit

Permalink
Convert packaging upgrade tests to java (#60560) (#60680)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rjernst committed Aug 6, 2020
1 parent b1fc8b1 commit de31e84
Show file tree
Hide file tree
Showing 12 changed files with 355 additions and 1,617 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,6 @@ public Iterator<File> iterator() {
return configuration.iterator();
}

// TODO: remove this when distro tests are per distribution
public Configuration getConfiguration() {
return configuration;
}

// internal, make this distribution's configuration unmodifiable
void finalizeValues() {

Expand Down
131 changes: 0 additions & 131 deletions buildSrc/src/main/java/org/elasticsearch/gradle/test/BatsTestTask.java

This file was deleted.

0 comments on commit de31e84

Please sign in to comment.