Test: fix Molecule CRI-O default runtime to crun
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>pull/11601/head
parent
f3d4377a16
commit
e008e8ee01
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue