Skip to content

Fix TimeSeriesLifecycleActionsIT.testExplainFilters#48772

Merged
dakrone merged 1 commit intoelastic:masterfrom
dakrone:slm-use-always-erroring-policy-in-test
Oct 31, 2019
Merged

Fix TimeSeriesLifecycleActionsIT.testExplainFilters#48772
dakrone merged 1 commit intoelastic:masterfrom
dakrone:slm-use-always-erroring-policy-in-test

Conversation

@dakrone
Copy link
Member

@dakrone dakrone commented Oct 31, 2019

This test used an index without an alias to simulate a failure in the
check-rollover-ready step. However, with #48256 that step
automatically retries, meaning that the index may not always be in
the ERROR step.

This commit changes the test to use a shrink action with an invalid
number of shards so that it stays in the ERROR step.

Resolves #48767

This test used an index without an alias to simulate a failure in the
`check-rollover-ready` step. However, with elastic#48256 that step
automatically retries, meaning that the index may not always be in
the ERROR step.

This commit changes the test to use a shrink action with an invalid
number of shards so that it stays in the ERROR step.

Resolves elastic#48767
@dakrone dakrone added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. v8.0.0 v7.6.0 labels Oct 31, 2019
@dakrone dakrone requested review from andreidan and gwbrown October 31, 2019 19:35
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

Copy link
Contributor

@gwbrown gwbrown left a comment

Choose a reason for hiding this comment

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

LGTM

@dakrone dakrone merged commit b0477ae into elastic:master Oct 31, 2019
@dakrone dakrone deleted the slm-use-always-erroring-policy-in-test branch October 31, 2019 20:44
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Oct 31, 2019
This test used an index without an alias to simulate a failure in the
`check-rollover-ready` step. However, with elastic#48256 that step
automatically retries, meaning that the index may not always be in
the ERROR step.

This commit changes the test to use a shrink action with an invalid
number of shards so that it stays in the ERROR step.

Resolves elastic#48767
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/ILM+SLM DO NOT USE. Use ":StorageEngine/ILM" or ":Distributed Coordination/SLM" instead. >test Issues or PRs that are addressing/adding tests v7.6.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TimeSeriesLifecycleActionsIT.testExplainFilters fails due to ILM retries

4 participants