Merge pull request #130178 from bart0sh/PR172-e2e-fix-websockets-conformance

e2e: fix node conformance flake
This commit is contained in:
Kubernetes Prow Robot 2025-02-17 02:08:33 -08:00 committed by GitHub
commit 2527854078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -638,7 +638,11 @@ var _ = SIGDescribe("Pods", func() {
})
ginkgo.By("submitting the pod to kubernetes")
podClient.CreateSync(ctx, pod)
pod = podClient.CreateSync(ctx, pod)
ginkgo.By("waiting for the container to be running")
err = e2epod.WaitForContainerRunning(ctx, f.ClientSet, pod.Namespace, pod.Name, pod.Spec.Containers[0].Name, framework.PodStartShortTimeout)
framework.ExpectNoError(err, "failed to wait for container to be running")
req := f.ClientSet.CoreV1().RESTClient().Get().
Namespace(f.Namespace.Name).