Skip to content

Commit

Permalink
clean up test (elastic#76887)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 authored Sep 10, 2020
1 parent f56fcb3 commit 1dd4b65
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/functional/apps/management/_create_index_pattern_wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ export default function ({ getService, getPageObjects }) {

await PageObjects.settings.createIndexPattern('alias1', false);
});

after(async () => {
await es.transport.request({
path: '/_aliases',
method: 'POST',
body: { actions: [{ remove: { index: 'blogs', alias: 'alias1' } }] },
});
await es.transport.request({
path: '/blogs',
method: 'DELETE',
});
});
});
});
}

0 comments on commit 1dd4b65

Please sign in to comment.