Commit 88bcf4a5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #33156 from guangxuli/k8s_test_092101

Automatic merge from submit-queue break the loop if pod name was equal
parents 509096af f411d373
...@@ -1550,6 +1550,7 @@ func WaitForPodToDisappear(c *client.Client, ns, podName string, label labels.Se ...@@ -1550,6 +1550,7 @@ func WaitForPodToDisappear(c *client.Client, ns, podName string, label labels.Se
if pod.Name == podName { if pod.Name == podName {
Logf("Pod %s still exists", podName) Logf("Pod %s still exists", podName)
found = true found = true
break
} }
} }
if !found { if !found {
......
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