diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index aa13881b41e..288558201fb 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -364,7 +364,7 @@ func ProxyMode(f *Framework) (string, error) { }, } f.PodClient().CreateSync(pod) - defer f.PodClient().DeleteSync(pod.Name, &metav1.DeleteOptions{}, time.Minute) + defer f.PodClient().DeleteSync(pod.Name, &metav1.DeleteOptions{}, DefaultPodDeletionTimeout) cmd := "curl -q -s --connect-timeout 1 http://localhost:10249/proxyMode" stdout, err := RunHostCmd(pod.Namespace, pod.Name, cmd)