From 68a049fbd0f907e2e0b113d21b4a5af370097bd1 Mon Sep 17 00:00:00 2001 From: Henning Andersen Date: Fri, 24 Jan 2020 21:45:04 +0100 Subject: [PATCH] Disable reindex against 0.90 on mac We still test remote reindex against version 0.90. This failed on mac a few times and rather than spent 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 b62d0298dd54d..e255c2567cc9a 100644 --- a/modules/reindex/build.gradle +++ b/modules/reindex/build.gradle @@ -100,7 +100,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