From 5bc23b6468bfc31ecff486d10384fa822e0cc85d Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Wed, 12 Jun 2019 09:05:39 -0700 Subject: [PATCH] Skip ILM node API integration tests on Cloud, because they depend on setting custom node attributes and Cloud disallows that. (#38715) --- .../apis/management/index_lifecycle_management/nodes.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x-pack/test/api_integration/apis/management/index_lifecycle_management/nodes.js b/x-pack/test/api_integration/apis/management/index_lifecycle_management/nodes.js index 741f949cac28..27c575e7265b 100644 --- a/x-pack/test/api_integration/apis/management/index_lifecycle_management/nodes.js +++ b/x-pack/test/api_integration/apis/management/index_lifecycle_management/nodes.js @@ -18,7 +18,11 @@ export default function ({ getService }) { const { getNodesStats } = initElasticsearchHelpers(es); const { loadNodes, getNodeDetails } = registerHelpers({ supertest }); - describe('nodes', () => { + describe('nodes', function () { + // Cloud disallows setting custom node attributes, so we can't use `NODE_CUSTOM_ATTRIBUTE` + // to retrieve the IDs we expect. + this.tags(['skipCloud']); + describe('list', () => { it('should return the list of ES node for each custom attributes', async () => { const nodeStats = await getNodesStats();