mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Wait for first pod to termiante in local pv test
local plugin will skip setting fsGroup if volume is mounted by other pods
This commit is contained in:
parent
3b02f17b35
commit
00a7fc3208
@ -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