diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index a3d99d92c20..4373d970701 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -704,10 +704,9 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN case res && err == nil: nOk++ case pod.Status.Phase == v1.PodSucceeded: - Logf("The status of Pod %s is Succeeded which is unexpected", pod.ObjectMeta.Name) - badPods = append(badPods, pod) + Logf("The status of Pod %s is Succeeded, skipping waiting", pod.ObjectMeta.Name) // it doesn't make sense to wait for this pod - return false, errors.New("unexpected Succeeded pod state") + continue case pod.Status.Phase != v1.PodFailed: Logf("The status of Pod %s is %s (Ready = false), waiting for it to be either Running (with Ready = true) or Failed", pod.ObjectMeta.Name, pod.Status.Phase) notReady++