Merge pull request #90214 from pohly/stop-pod-master

storage tests: really wait for pod to disappear
This commit is contained in:
Kubernetes Prow Robot 2020-04-16 20:49:07 -07:00 committed by GitHub
commit ae8d30631d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -693,8 +693,7 @@ func StopPod(c clientset.Interface, pod *v1.Pod) {
} else {
framework.Logf("Pod %s has the following logs: %s", pod.Name, body)
}
e2epod.DeletePodOrFail(c, pod.Namespace, pod.Name)
e2epod.WaitForPodNoLongerRunningInNamespace(c, pod.Name, pod.Namespace)
e2epod.DeletePodWithWait(c, pod)
}
func verifyPVCsPending(client clientset.Interface, pvcs []*v1.PersistentVolumeClaim) {