mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-04-15 14:26:33 -04: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue