From d38f83f7f15d083d5226719004e423209ac926e9 Mon Sep 17 00:00:00 2001 From: Jeff Grafton Date: Mon, 23 Nov 2015 15:07:31 -0800 Subject: [PATCH] Wait for hostexec pod to start running --- test/e2e/privileged.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/e2e/privileged.go b/test/e2e/privileged.go index 9385004f6248a..01325258120bc 100644 --- a/test/e2e/privileged.go +++ b/test/e2e/privileged.go @@ -52,10 +52,7 @@ var _ = Describe("PrivilegedPod", func() { f: f, } It("should test privileged pod", func() { - hostExecPod := NewHostExecPodSpec(f.Namespace.Name, "hostexec") - pod, err := config.getPodClient().Create(hostExecPod) - expectNoError(err) - config.hostExecPod = pod + config.hostExecPod = LaunchHostExecPod(config.f.Client, config.f.Namespace.Name, "hostexec") By("Creating a privileged pod") config.createPrivilegedPod()