Commit 73b5dbcd authored by Chao Xu's avatar Chao Xu

orphan e2e test should fail if timeout

parent ad47a181
...@@ -210,7 +210,7 @@ var _ = framework.KubeDescribe("Garbage collector", func() { ...@@ -210,7 +210,7 @@ var _ = framework.KubeDescribe("Garbage collector", func() {
return false, nil return false, nil
} }
return true, nil return true, nil
}); err != nil && err != wait.ErrWaitTimeout { }); err != nil {
framework.Failf("%v", err) framework.Failf("%v", err)
} }
By("wait for 30 seconds to see if the garbage collector mistakenly deletes the pods") By("wait for 30 seconds to see if the garbage collector mistakenly deletes the pods")
......
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