From 07213b6dffe8e6c5bacdaf4a357bd9d05d73709c Mon Sep 17 00:00:00 2001 From: Zihong Zheng Date: Wed, 12 Apr 2017 09:16:47 -0700 Subject: [PATCH] [e2e] Bump up pod deletion time for source pod IP test --- test/e2e/framework/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)