mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
e2e configmap wait for pod is running but not ready
This commit is contained in:
parent
3967bc6942
commit
0f1125d8d1
@ -213,7 +213,8 @@ var _ = ginkgo.Describe("[sig-storage] ConfigMap", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
ginkgo.By("Creating the pod")
|
ginkgo.By("Creating the pod")
|
||||||
f.PodClient().CreateSync(pod)
|
f.PodClient().Create(pod)
|
||||||
|
e2epod.WaitForPodNameRunningInNamespace(f.ClientSet, pod.Name, f.Namespace.Name)
|
||||||
|
|
||||||
pollLogs1 := func() (string, error) {
|
pollLogs1 := func() (string, error) {
|
||||||
return e2epod.GetPodLogs(f.ClientSet, f.Namespace.Name, pod.Name, pod.Spec.Containers[0].Name)
|
return e2epod.GetPodLogs(f.ClientSet, f.Namespace.Name, pod.Name, pod.Spec.Containers[0].Name)
|
||||||
|
Loading…
Reference in New Issue
Block a user