Skip to content

Safer Wait for Snapshot Success in ClusterPrivilegeTests (#40943) #42575

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 1 commit into from
May 27, 2019

Conversation

original-brownbear
Copy link
Contributor

  • Safer Wait for Snapshot Success in ClusterPrivilegeTests

  • The snapshot state returned by the API might become SUCCESS before it's fully removed from the cluster state.

    • We should fix this race in the transport API but it's not trivial and will be part of the incoming big round of refactoring the repository interaction, this added check fixes the test for now
  • closes ClusterPrivilegeTests.testThatSnapshotAndRestore failing in master #38030

back port of #40943

* Safer Wait for Snapshot Success in ClusterPrivilegeTests

* The snapshot state returned by the API might become SUCCESS before it's fully removed from the cluster state.
  * We should fix this race in the transport API but it's not trivial and will be part of the incoming big round of refactoring the repository interaction, this added check fixes the test for now
* closes elastic#38030
@original-brownbear original-brownbear merged commit a96606d into elastic:7.x May 27, 2019
@original-brownbear original-brownbear deleted the 40943-7.x branch May 27, 2019 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant