Do not early exit if pod is not found in WaitForPodCondition.

This commit is contained in:
Kermit Alexander 2021-03-16 14:44:19 +00:00
parent 0ced9d2854
commit c2aa40ca13

View File

@ -215,7 +215,7 @@ func WaitForPodCondition(c clientset.Interface, ns, podName, desc string, timeou
if err != nil { if err != nil {
if apierrors.IsNotFound(err) { if apierrors.IsNotFound(err) {
e2elog.Logf("Pod %q in namespace %q not found. Error: %v", podName, ns, err) e2elog.Logf("Pod %q in namespace %q not found. Error: %v", podName, ns, err)
return err continue
} }
e2elog.Logf("Get pod %q in namespace %q failed, ignoring for %v. Error: %v", podName, ns, poll, err) e2elog.Logf("Get pod %q in namespace %q failed, ignoring for %v. Error: %v", podName, ns, poll, err)
continue continue