diff --git a/x-pack/test/api_integration/apis/uptime/graphql/index.js b/x-pack/test/api_integration/apis/uptime/graphql/index.js index e4cbc19674e9..d07e05416540 100644 --- a/x-pack/test/api_integration/apis/uptime/graphql/index.js +++ b/x-pack/test/api_integration/apis/uptime/graphql/index.js @@ -8,7 +8,7 @@ export default function ({ getService, loadTestFile }) { const esArchiver = getService('esArchiver'); const archive = 'uptime/full_heartbeat'; - describe('graphql queries', () => { + describe('graphql', () => { before('load heartbeat data', async () => await esArchiver.load(archive)); after('unload heartbeat index', async () => await esArchiver.unload(archive)); // each of these test files imports a GQL query from diff --git a/x-pack/test/api_integration/apis/uptime/index.js b/x-pack/test/api_integration/apis/uptime/index.js index cde44bd4f56d..eba67c5f9d50 100644 --- a/x-pack/test/api_integration/apis/uptime/index.js +++ b/x-pack/test/api_integration/apis/uptime/index.js @@ -8,9 +8,9 @@ export default function ({ getService, loadTestFile }) { const es = getService('es'); describe('uptime', () => { - beforeEach(() => + before(() => es.indices.delete({ - index: 'heartbeat', + index: 'heartbeat*', ignore: [404], }));