Skip to content
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

Fix DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode (#43537) #44082

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

original-brownbear
Copy link
Member

  • Fix DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode

  • See comment in the test: The problem is that when the snapshot delete works out partially on master failover and the retry fails on SnapshotMissingException no repository cleanup is run => we still failed even with repo cleanup logic in the delete path now

    • Fixed the test by rerunning a create snapshot and delete loop to clean up the repo before verifying file counts
  • Closes [CI] DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode failed #39852

backport of #43537

…tic#43537)

* Fix DedicatedClusterSnapshotRestoreIT testSnapshotWithStuckNode

* See comment in the test: The problem is that when the snapshot delete works out partially on master failover and the retry fails on `SnapshotMissingException` no repository cleanup is run => we still failed even with repo cleanup logic in the delete path now
   * Fixed the test by rerunning a create snapshot and delete loop to clean up the repo before verifying file counts
* Closes elastic#39852
@original-brownbear
Copy link
Member Author

Jenkins test this

@original-brownbear original-brownbear merged commit dc8f8e4 into elastic:7.x Jul 9, 2019
@original-brownbear original-brownbear deleted the 43537-7.x branch July 9, 2019 04:32
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.

None yet

1 participant