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

This commit is contained in:
CJ Cenizal 2019-06-12 09:05:39 -07:00 committed by GitHub
parent 9adce54902
commit 5bc23b6468
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();