-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore 404-Not Found exceptions when cleaning up resources after tests (
#73753) (#73760) We're doing some clean up logic to delete indices, data streams, auto-follow patterns or searchable snapshot indices in some test classes after a test case is executed. Today we either fail or log a warning if the clean up failed but I think we should simply ignore the 404 - Not Found response exception, like we do in other places for regular indices. Note that this change applies only: - when cleaning up searchable snapshots indices in ESRestTestCase - when cleaning up indices, data streams and auto-follow pattern in AutoFollowIT
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters