Merge pull request #17690 from ixdy/privileged-e2e

Wait for hostexec pod to start running
This commit is contained in:
Tim Hockin
2015-11-23 16:37:01 -08:00

View File

@@ -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()