Skip to content

Commit

Permalink
Fix old respository version tests on AARCH64 (#80452) (#80453)
Browse files Browse the repository at this point in the history
When running ES 6.8 on ARM, as is the case for the
`repository-old-versions` tests, we need to explicitly disable ML or
else the node will error on startup.
  • Loading branch information
mark-vieira authored Nov 5, 2021
1 parent dd9c612 commit ed2b7a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qa/repository-old-versions/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) {
unzip.get().temporaryDir,
false,
"path.repo: ${repoLocation}"
if (version.onOrAfter('6.8.0') && Architecture.current() == Architecture.AARCH64) {
// We need to explicitly disable ML when running old ES versions on ARM
args 'xpack.ml.enabled: false'
}
maxWaitInSeconds 60
waitCondition = { fixture, ant ->
// the fixture writes the ports file when Elasticsearch's HTTP service
Expand Down

0 comments on commit ed2b7a2

Please sign in to comment.