Skip to content

[Tests] Fix creating ExplainLifecycleRequest with no indices #35828

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

Merged
merged 2 commits into from
Nov 23, 2018

Conversation

cbuescher
Copy link
Member

We didn't check that the ExplainLifecycleRequest was constructed with at least
one index before, now that we do we must also make sure the tests
mutateInstance() method used in equals/hashCode checks doesn't accidentally
create an empty index array.

Closes #35822

We didn't check that the ExplainLifecycleRequest was constructed with at least
one index before, now that we do we must also make sure the tests
mutateInstance() method used in equals/hashCode checks doesn't accidentally
create an empty index array.

Closes elastic#35822
@cbuescher cbuescher added >test Issues or PRs that are addressing/adding tests v7.0.0 :Data Management/ILM+SLM Index and Snapshot lifecycle management labels Nov 22, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@talevy
Copy link
Contributor

talevy commented Nov 22, 2018

thank you @cbuescher! I missed this when I tried to address it here #35804

@cbuescher
Copy link
Member Author

@cbuescher cbuescher merged commit 6fb7ce6 into elastic:master Nov 23, 2018
cbuescher pushed a commit that referenced this pull request Nov 23, 2018
We didn't check that the ExplainLifecycleRequest was constructed with at least
one index before, now that we do we must also make sure the tests
mutateInstance() method used in equals/hashCode checks doesn't accidentally
create an empty index array.

Closes #35822
original-brownbear pushed a commit that referenced this pull request Nov 23, 2018
We didn't check that the ExplainLifecycleRequest was constructed with at least
one index before, now that we do we must also make sure the tests
mutateInstance() method used in equals/hashCode checks doesn't accidentally
create an empty index array.

Closes #35822
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 >test Issues or PRs that are addressing/adding tests v6.6.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants