mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #73900 from cofyc/fix-local-test
Wait for first pod to termiante in PV test
This commit is contained in:
commit
5442980dd9
@ -537,6 +537,8 @@ func InjectHtml(client clientset.Interface, config VolumeTestConfig, volume v1.V
|
|||||||
|
|
||||||
defer func() {
|
defer func() {
|
||||||
podClient.Delete(podName, nil)
|
podClient.Delete(podName, nil)
|
||||||
|
err := waitForPodNotFoundInNamespace(client, podName, injectPod.Namespace, PodDeleteTimeout)
|
||||||
|
Expect(err).NotTo(HaveOccurred())
|
||||||
}()
|
}()
|
||||||
|
|
||||||
injectPod, err := podClient.Create(injectPod)
|
injectPod, err := podClient.Create(injectPod)
|
||||||
|
Loading…
Reference in New Issue
Block a user