Skip to content

Commit

Permalink
Merge pull request kubernetes#122259 from pacoxu/enlarge-pod-delete-t…
Browse files Browse the repository at this point in the history
…imeout

use e2e f.Timeouts.PodDelete instead of 1 minute
  • Loading branch information
k8s-ci-robot committed Mar 5, 2024
2 parents 777070c + d5060de commit a33f8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/common/node/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ var _ = SIGDescribe("Pods", func() {
framework.ExpectNoError(err, "failed to delete Pod by collection")

ginkgo.By("watching for the Pod to be deleted")
ctxUntil, cancel = context.WithTimeout(ctx, 1*time.Minute)
ctxUntil, cancel = context.WithTimeout(ctx, f.Timeouts.PodDelete)
defer cancel()
_, err = watchtools.Until(ctxUntil, preDeleteResourceVersion, w, func(event watch.Event) (bool, error) {
switch event.Type {
Expand Down

0 comments on commit a33f8b8

Please sign in to comment.