Skip to content

[7.x] Fix SearchableSnapshotActionIT (#66698) #66734

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

Conversation

andreidan
Copy link
Contributor

This attempts to fix the flakiness seen in some of the tests
that mount an index as searchable snapshot.
The flakiness was caused when attempting to wipe the cluster after
the test executed due to an exception caused by

    cannot delete snapshot during a restore in progress

This adds a wait step after the tests that polls the repository status
until there are no snapshots.

(cherry picked from commit 86cc49e)
Signed-off-by: Andrei Dan andrei.dan@elastic.co

Backport of #66698

This attempts to fix the flakiness seen in some of the tests
that mount an index as searchable snapshot.
The flakiness was caused when attempting to wipe the cluster after
the test executed due to an exception caused by
```
    cannot delete snapshot during a restore in progress
```

This adds a wait step after the tests that polls the repository status
until there are no snapshots.

(cherry picked from commit 86cc49e)
Signed-off-by: Andrei Dan <andrei.dan@elastic.co>
@andreidan andreidan added >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management backport v7.12.0 labels Dec 22, 2020
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Dec 22, 2020
@elasticmachine
Copy link
Collaborator

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

@andreidan andreidan merged commit 4561442 into elastic:7.x Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :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.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants