mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
e2e framework: move pod exec and create into sub package
This commit is contained in:
@@ -39,7 +39,7 @@ var _ = SIGDescribe("Containers", func() {
|
||||
framework.ConformanceIt("should use the image defaults if command and args are blank [NodeConformance]", func() {
|
||||
pod := entrypointTestPod(f.Namespace.Name)
|
||||
pod.Spec.Containers[0].Args = nil
|
||||
pod = f.PodClient().Create(pod)
|
||||
pod = e2etodopod.NewPodClient(f).Create(pod)
|
||||
err := e2epod.WaitForPodNameRunningInNamespace(f.ClientSet, pod.Name, f.Namespace.Name)
|
||||
framework.ExpectNoError(err, "Expected pod %q to be running, got error: %v", pod.Name, err)
|
||||
pollLogs := func() (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user