mirror of
https://github.com/k3s-io/k3s.git
synced 2026-06-09 00:33:35 -04:00
Test for cri-dockerd exec
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
This commit is contained in:
parent
eb395186d6
commit
cbb7c2a041
1 changed files with 7 additions and 0 deletions
|
|
@ -399,6 +399,13 @@ var _ = Describe("Various Startup Configurations", Ordered, func() {
|
|||
}, "300s", "10s").Should(Succeed())
|
||||
e2e.DumpPods(tc.KubeconfigFile)
|
||||
})
|
||||
|
||||
It("Exec a command in a pod", func() {
|
||||
cmd := "kubectl exec -n kube-system deploy/traefik -- pwd"
|
||||
_, err := tests.RunCommand(cmd)
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
})
|
||||
|
||||
It("Kills the cluster", func() {
|
||||
err := e2e.KillK3sCluster(tc.AllNodes())
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
|
|
|||
Loading…
Reference in a new issue