Skip ILM node API integration tests on Cloud, because they depend on setting custom node attributes and Cloud disallows that. (#38715) (#38808)

This commit is contained in:
CJ Cenizal 2019-06-12 11:32:54 -07:00 committed by GitHub
parent f6f2d7d2bb
commit 696bd5ba10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();