Skip to content

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

Merged
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:40943-7.x
May 27, 2019
Merged

Safer Wait for Snapshot Success in ClusterPrivilegeTests (#40943)#42575
original-brownbear merged 1 commit intoelastic:7.xfrom
original-brownbear:40943-7.x

Conversation

@original-brownbear
Copy link
Copy Markdown
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 #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