Skip to content

Conversation

@andreidan
Copy link
Contributor

Explain onlyErrors is tricky to integration test as all the ILM steps
are now retryable (so the explain API might not catch a particular
failing step when it's in the ERROR state as when we retry we move it
back into the step that failed).

This adds an unit test for the "explain onlyErrors" case.

Fixes #71010

Explain `onlyErrors` is tricky to integration test as all the ILM steps
are now retryable (so the `explain` API might not catch a particular
failing step when it's in the `ERROR` state as when we retry we move it
back into the step that failed).

This adds an unit test for the "explain onlyErrors" case.
@andreidan andreidan added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management v8.0.0 v7.15.0 labels Jul 5, 2021
@andreidan andreidan requested a review from martijnvg July 5, 2021 17:57
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 5, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@andreidan
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/rest-compatibility

@andreidan
Copy link
Contributor Author

@elasticmachine update branch

Copy link
Contributor

@probakowski probakowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 thanks Andrei!

@andreidan andreidan merged commit 973610a into elastic:master Jul 6, 2021
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Jul 6, 2021
Explain `onlyErrors` is tricky to integration test as all the ILM steps
are now retryable (so the `explain` API might not catch a particular
failing step when it's in the `ERROR` state as when we retry we move it
back into the step that failed).

This adds an unit test for the "explain onlyErrors" case.

(cherry picked from commit 973610a)
Signed-off-by: Andrei Dan <[email protected]>
elasticsearchmachine pushed a commit that referenced this pull request Jul 6, 2021
* Fix ExplainLifecycleIT.testExplainFilters (#74941)

Explain `onlyErrors` is tricky to integration test as all the ILM steps
are now retryable (so the `explain` API might not catch a particular
failing step when it's in the `ERROR` state as when we retry we move it
back into the step that failed).

This adds an unit test for the "explain onlyErrors" case.

(cherry picked from commit 973610a)
Signed-off-by: Andrei Dan <[email protected]>

* Remove unused import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM Index and Snapshot lifecycle management Team:Data Management Meta label for data/management team >test Issues or PRs that are addressing/adding tests v7.15.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] ExplainLifecycleIT testExplainFilters failure

4 participants