-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[Transform] Delete indices after test #128690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix elastic#128577
|
Pinging @elastic/ml-core (Team:ML) |
| .sum(), | ||
| checkpointSum | ||
| ); | ||
| deleteIndices(indices); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the test fails will the deleteIndices still be called? Would it make sense to move these to an After method. I guess not all tests need to delete the indices, but maybe we could just ignore a failure on a delete attempt in that situation and always try to delete the indices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah let's ignore the failure from delete - the cleanup code may still pass (this seems to be a rare issue anyway)
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix elastic#128577
💚 Backport successful
|
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix #128577
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix elastic#128577
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix elastic#128577
The tests sometimes pass and then fail to clean up the indicies indirectly, so they will now directly delete the indices they created for the test. Fix elastic#128577
The tests sometimes pass and then fail to clean up the indices indirectly, so they will now directly delete the indices they created for the test.
Fix #128577