Repository navigation
e2e: remove duplicate deletePod helper - #2544
Merged
thomasferrandiz merged 1 commit intoAug 27, 2026
Merged
Conversation
flannel-io#2538 and flannel-io#2537 each added a kindCluster.deletePod helper. Both changes merged cleanly, but together they leave the e2e package with duplicate method definitions. Keep the version from flannel-io#2538 because its resilience callers recreate pods under the same names immediately and need deletion to finish first. The service/DNS cleanup can use the same stronger helper.
thomasferrandiz
approved these changes
Aug 27, 2026
Contributor
|
Thanks for the fix! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
#2538 and #2537 each added a
kindCluster.deletePodhelper. The changes merged cleanly on their own, but together they leave the e2e package with duplicate method definitions, breaking lint and both kind test jobs.This removes the later copy and keeps #2538's implementation, which waits for deletion to finish before returning. Its resilience tests recreate pods under the same names immediately; the service/DNS cleanup from #2537 can safely share that stronger behavior.
The e2e-tagged package compiles and vets cleanly, and golangci-lint v2.7.2 passes with the e2e build tag. The full kind suite was not run locally.