orphan e2e test should fail if timeout

This commit is contained in:
Chao Xu 2016-12-21 11:15:48 -08:00
parent ad47a181ee
commit 73b5dbcd9b

View File

@ -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")