Skip to content

Commit a33f8b8

Browse files
authored
Merge pull request kubernetes#122259 from pacoxu/enlarge-pod-delete-timeout
use e2e f.Timeouts.PodDelete instead of 1 minute
2 parents 777070c + d5060de commit a33f8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/common/node/pods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ var _ = SIGDescribe("Pods", func() {
10421042
framework.ExpectNoError(err, "failed to delete Pod by collection")
10431043

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

0 commit comments

Comments
 (0)