Skip to content

Commit

Permalink
Add comment to explain the cleanup considerations.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jun 26, 2020
1 parent 08bf47b commit 927b32d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ export default function ({ getService }: FtrProviderContext) {
});

after(async () => {
// The Delete API only deletes the data streams, so we still need to manually delete their
// related index patterns to clean up.
await Promise.all([
deleteComposableIndexTemplate(testDataStreamName1),
deleteComposableIndexTemplate(testDataStreamName2),
Expand Down

0 comments on commit 927b32d

Please sign in to comment.