From 4bd9de2b0583bb441050f4388461dfae90134ce6 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Wed, 18 Jul 2018 18:21:04 +0200 Subject: [PATCH] Fix BwC Tests looking for UUID Pre 6.4 (#32158) (#32169) * UUID field was added for #31791 and only went into 6.4 and 7.0 * Fixes #32119 --- qa/mixed-cluster/build.gradle | 1 - .../resources/rest-api-spec/test/indices.stats/10_index.yml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/mixed-cluster/build.gradle b/qa/mixed-cluster/build.gradle index 4a58090219225..576601166a035 100644 --- a/qa/mixed-cluster/build.gradle +++ b/qa/mixed-cluster/build.gradle @@ -60,7 +60,6 @@ for (Version version : bwcVersions.wireCompatible) { tasks.getByName("${baseName}#mixedClusterTestRunner").configure { /* To support taking index snapshots, we have to set path.repo setting */ systemProperty 'tests.path.repo', new File(buildDir, "cluster/shared/repo") - systemProperty 'tests.rest.blacklist', ['indices.stats/10_index/Index - all'].join(',') } } diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yml index 21578779f487a..907e760ca6784 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yml @@ -41,6 +41,10 @@ setup: --- "Index - all": + - skip: + version: " - 6.3.99" + reason: "uuid is only available from 6.4.0 on" + - do: indices.stats: { index: _all }