mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Ensure monitoring indices get cleaned during tests (#134978)
This commit is contained in:
parent
8133605b89
commit
db728b12a3
2 changed files with 2 additions and 2 deletions
|
@ -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 () => {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue