mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Wait for hostexec pod to start running
This commit is contained in:
parent
b38836c1e0
commit
d38f83f7f1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user