mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 03:03:40 +00:00
e2e emptydir shared volumes wait for running but not ready
This commit is contained in:
@@ -282,7 +282,8 @@ var _ = ginkgo.Describe("[sig-storage] EmptyDir volumes", func() {
|
||||
}
|
||||
|
||||
ginkgo.By("Creating Pod")
|
||||
pod = f.PodClient().CreateSync(pod)
|
||||
f.PodClient().Create(pod)
|
||||
e2epod.WaitForPodNameRunningInNamespace(f.ClientSet, pod.Name, f.Namespace.Name)
|
||||
|
||||
ginkgo.By("Reading file content from the nginx-container")
|
||||
result := f.ExecShellInContainer(pod.Name, busyBoxMainContainerName, fmt.Sprintf("cat %s", busyBoxMainVolumeFilePath))
|
||||
|
Reference in New Issue
Block a user