Rework pod waiting mechanism in e2e tests to accept pod and watch based
on its ResourceVersion to make sure we catch all the events.
This commit is contained in:
@@ -139,7 +139,7 @@ var _ = framework.KubeDescribe("ClusterDns [Feature:Example]", func() {
|
||||
// wait until the pods have been scheduler, i.e. are not Pending anymore. Remember
|
||||
// that we cannot wait for the pods to be running because our pods terminate by themselves.
|
||||
for _, ns := range namespaces {
|
||||
err := framework.WaitForPodNotPending(c, ns.Name, frontendPodName)
|
||||
err := framework.WaitForPodNotPending(c, ns.Name, frontendPodName, "")
|
||||
framework.ExpectNoError(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user