Commit 1cc84c55 authored by Chao Xu's avatar Chao Xu

Merge pull request #23960 from caesarxuchao/fix-23952

fix e2e flake #23952
parents d427eeea bcebfa07
...@@ -129,7 +129,9 @@ var _ = KubeDescribe("Generated release_1_2 clientset", func() { ...@@ -129,7 +129,9 @@ var _ = KubeDescribe("Generated release_1_2 clientset", func() {
deleted := false deleted := false
timeout := false timeout := false
var lastPod *api.Pod var lastPod *api.Pod
timer := time.After(30 * time.Second) // The 30s grace period is not an upper-bound of the time it takes to
// delete the pod from etcd.
timer := time.After(60 * time.Second)
for !deleted && !timeout { for !deleted && !timeout {
select { select {
case event, _ := <-w.ResultChan(): case event, _ := <-w.ResultChan():
......
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