Skip to content

Conversation

@andreidan
Copy link
Contributor

The flakiness was caused by the assertions in the test not capturing
the expected ILM state. Namely, asserting the restored index doesn't
exist is also true before it ever exists (not only after it's deleted)

The intention was to assert ILM finished execution for the restored and
the index was deleted.
This changes the code to assert both the original managed and the restored
index do not exist before moving on to assert the snapshot survives the
delete action execution.

Fixes #67712

@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.12.0 labels Feb 2, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Feb 2, 2021
@elasticmachine
Copy link
Collaborator

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

@andreidan andreidan requested a review from dakrone February 2, 2021 14:18
Copy link
Member

@dakrone dakrone left a comment

Choose a reason for hiding this comment

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

LGTM

@andreidan andreidan merged commit 4ce4a12 into elastic:master Feb 2, 2021
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Feb 2, 2021
andreidan added a commit to andreidan/elasticsearch that referenced this pull request Feb 2, 2021
andreidan added a commit that referenced this pull request Feb 3, 2021
andreidan added a commit that referenced this pull request Feb 3, 2021
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.11.1 v7.12.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] TimeSeriesLifecycleActionsIT.testDeleteActionDoesntDeleteSearchableSnapshot() test failure

4 participants