mirror of https://github.com/k3s-io/k3s
Merge pull request #73900 from cofyc/fix-local-test
Wait for first pod to termiante in PV testpull/564/head
commit
5442980dd9
|
@ -537,6 +537,8 @@ func InjectHtml(client clientset.Interface, config VolumeTestConfig, volume v1.V
|
|||
|
||||
defer func() {
|
||||
podClient.Delete(podName, nil)
|
||||
err := waitForPodNotFoundInNamespace(client, podName, injectPod.Namespace, PodDeleteTimeout)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
}()
|
||||
|
||||
injectPod, err := podClient.Create(injectPod)
|
||||
|
|
Loading…
Reference in New Issue