From eae975defc7160d0bc2b962ee655a085f5cf29f1 Mon Sep 17 00:00:00 2001 From: Henning Andersen <33268011+henningandersen@users.noreply.github.com> Date: Mon, 27 Jan 2020 12:40:27 +0100 Subject: [PATCH] Disable reindex against 0.90 on mac (#51449) We still test remote reindex against version 0.90. This failed on mac a few times and rather than spend time investigating this, we no longer test remote reindex against 0.90 on mac. Closes #51202 --- modules/reindex/build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/reindex/build.gradle b/modules/reindex/build.gradle index 2f952b431ce7e..5e500de1b7c11 100644 --- a/modules/reindex/build.gradle +++ b/modules/reindex/build.gradle @@ -101,7 +101,13 @@ if (Os.isFamily(Os.FAMILY_WINDOWS)) { } else { /* Set up tasks to unzip and run the old versions of ES before running the * integration tests. */ - for (String version : ['2', '1', '090']) { + def versions = ['2', '1', '090'] + if (Os.isFamily(Os.FAMILY_MAC)) { + // 0.90 fails sometimes on mac, given that it is so old, let us disable it + // see: https://github.com/elastic/elasticsearch/issues/51202 + versions = ['2', '1'] + } + for (String version : versions) { Task unzip = task("unzipEs${version}", type: Sync) { Configuration oldEsDependency = configurations['es' + version] dependsOn oldEsDependency