mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-16 18:50:08 -03:30
Test: fix Molecule CRI-O default runtime to crun
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ def test_run(host):
|
|||||||
assert "RuntimeName: cri-o" in cmd.stdout
|
assert "RuntimeName: cri-o" in cmd.stdout
|
||||||
|
|
||||||
def test_run_pod(host):
|
def test_run_pod(host):
|
||||||
runtime = "runc"
|
runtime = "crun"
|
||||||
|
|
||||||
run_command = "/usr/local/bin/crictl run --with-pull --runtime {} /tmp/container.json /tmp/sandbox.json".format(runtime)
|
run_command = "/usr/local/bin/crictl run --with-pull --runtime {} /tmp/container.json /tmp/sandbox.json".format(runtime)
|
||||||
with host.sudo():
|
with host.sudo():
|
||||||
|
|||||||
Reference in New Issue
Block a user