Skip to content

e2e: remove duplicate deletePod helper - #2544

Merged
thomasferrandiz merged 1 commit into
flannel-io:masterfrom
mirendev:phinze/fix-duplicate-deletepod
Aug 27, 2026
Merged

thomasferrandiz merged 1 commit into
flannel-io:masterfrom
mirendev:phinze/fix-duplicate-deletepod

Conversation

@phinze

@phinze phinze commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

#2538 and #2537 each added a kindCluster.deletePod helper. 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.

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
thomasferrandiz merged commit cf7a72f into flannel-io:master Aug 27, 2026
11 checks passed
@thomasferrandiz

Copy link
Copy Markdown
Contributor

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants