Commit a820e7bc authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #44397 from MrHohn/e2e-service-source-ip-timeout

Automatic merge from submit-queue [e2e] Bump up pod deletion time for source pod IP test From #44225. Source pod IP e2e test is pretty flaky lately, and most of the failures seem to be timeout waiting for pod "kube-proxy-mode-detector" to disappear. Didn't found any other thing suspicious. This PR bumps pod deletion timeout to DefaultPodDeletionTimeout, which is 3 minutes. Hopefully it will mitigate the flakes. /assign @freehan **Release note**: ```release-note NONE ```
parents 5c94d422 07213b6d
...@@ -364,7 +364,7 @@ func ProxyMode(f *Framework) (string, error) { ...@@ -364,7 +364,7 @@ func ProxyMode(f *Framework) (string, error) {
}, },
} }
f.PodClient().CreateSync(pod) 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" cmd := "curl -q -s --connect-timeout 1 http://localhost:10249/proxyMode"
stdout, err := RunHostCmd(pod.Namespace, pod.Name, cmd) stdout, err := RunHostCmd(pod.Namespace, pod.Name, cmd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment