Skip to content

Commit

Permalink
Wait for hostexec pod to start running
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Nov 23, 2015
1 parent b38836c commit d38f83f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/e2e/privileged.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d38f83f

Please sign in to comment.