Test: fix Molecule CRI-O default runtime to crun

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/11601/head
ChengHao Yang 2024-10-07 07:40:35 +08:00
parent f3d4377a16
commit e008e8ee01
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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():