Skip to content

Fix SLM Tests Leaking Snapshot Operation#59150

Merged
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:stabilize-slm-tests-wait
Jul 7, 2020
Merged

Fix SLM Tests Leaking Snapshot Operation#59150
original-brownbear merged 1 commit intoelastic:masterfrom
original-brownbear:stabilize-slm-tests-wait

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

Fixed an issue #59082 introduced. We have to wait for no more operations
in all tests here not just the one we were waiting in already so that the cleanup
operation from the parent class can run without failure.

Ran into this in a PR and can reproduce at low rate locally as well: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-2/3390/testReport/junit/org.elasticsearch.xpack.slm/SLMSnapshotBlockingIntegTests/testSLMRetentionAfterRestore/

Fixed an issue #59082 introduced. We have to wait for no more operations
in all tests here not just the one we were waiting in already so that the cleanup
operation from the parent class can run without failure.
@original-brownbear original-brownbear 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.9.0 labels Jul 7, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

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

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 7, 2020
@original-brownbear original-brownbear requested a review from tlrx July 7, 2020 14:01
@original-brownbear
Copy link
Copy Markdown
Contributor Author

Thanks Tanguy!

@original-brownbear original-brownbear merged commit 7ff58d7 into elastic:master Jul 7, 2020
@original-brownbear original-brownbear deleted the stabilize-slm-tests-wait branch July 7, 2020 14:30
original-brownbear added a commit that referenced this pull request Jul 7, 2020
Fixed an issue #59082 introduced. We have to wait for no more operations
in all tests here not just the one we were waiting in already so that the cleanup
operation from the parent class can run without failure.
@original-brownbear original-brownbear restored the stabilize-slm-tests-wait branch August 6, 2020 18:36
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. Team:Data Management (obsolete) DO NOT USE. This team no longer exists. >test Issues or PRs that are addressing/adding tests v7.9.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants