From 0bf96a3ca4ab45763a98c11436a201bbc6ec9b5f Mon Sep 17 00:00:00 2001 From: guoyunxian Date: Fri, 26 May 2017 12:00:15 +0800 Subject: [PATCH] Remove the same case judement This patch remove the same case judement --- test/e2e/framework/util.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index 55986ae2f3d..32b1ebca95d 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -589,8 +589,6 @@ func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods, allowedN switch { case res && err == nil: nOk++ - case pod.Status.Phase == v1.PodSucceeded: - continue case pod.Status.Phase == v1.PodSucceeded: Logf("The status of Pod %s is Succeeded which is unexpected", pod.ObjectMeta.Name) badPods = append(badPods, pod)