mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +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,
|
f: f,
|
||||||
}
|
}
|
||||||
It("should test privileged pod", func() {
|
It("should test privileged pod", func() {
|
||||||
hostExecPod := NewHostExecPodSpec(f.Namespace.Name, "hostexec")
|
config.hostExecPod = LaunchHostExecPod(config.f.Client, config.f.Namespace.Name, "hostexec")
|
||||||
pod, err := config.getPodClient().Create(hostExecPod)
|
|
||||||
expectNoError(err)
|
|
||||||
config.hostExecPod = pod
|
|
||||||
|
|
||||||
By("Creating a privileged pod")
|
By("Creating a privileged pod")
|
||||||
config.createPrivilegedPod()
|
config.createPrivilegedPod()
|
||||||
|
Loading…
Reference in New Issue
Block a user