Ensure monitoring indices get cleaned during tests (#134978)

This commit is contained in:
Mat Schaffer 2022-06-23 18:47:25 +09:00 committed by GitHub
parent 8133605b89
commit db728b12a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ export default function ({ getService }) {
};
await esSupertest.put('/_cluster/settings').send(disableCollection).expect(200);
await esDeleteAllIndices('/.monitoring-*');
await esDeleteAllIndices('.monitoring-*');
});
it('should set collection.enabled to true', async () => {

View file

@ -40,7 +40,7 @@ export default function ({ getService, getPageObjects }) {
};
await esSupertest.put('/_cluster/settings').send(disableCollection).expect(200);
await esDeleteAllIndices('/.monitoring-*');
await esDeleteAllIndices('.monitoring-*');
});
it('Monitoring enabled', async function () {