Merge pull request #8617 from GabyCT/topic/enabletestnerdctl

tests: nerdctl: Enable nerdctl tests for cloud hypervisor runtime-rs
This commit is contained in:
GabyCT 2023-12-11 14:09:58 -06:00 committed by GitHub
commit ee74fca92c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -402,7 +402,7 @@ function enabling_hypervisor() {
declare -r CONTAINERD_SHIM_KATA="/usr/local/bin/containerd-shim-kata-${KATA_HYPERVISOR}-v2"
case "${KATA_HYPERVISOR}" in
dragonball)
dragonball | cloud-hypervisor)
sudo ln -sf "${KATA_DIR}/runtime-rs/bin/containerd-shim-kata-v2" "${CONTAINERD_SHIM_KATA}"
declare -r CONFIG_DIR="${KATA_DIR}/share/defaults/kata-containers/runtime-rs"
;;

View File

@ -59,11 +59,6 @@ function install_dependencies() {
}
function run() {
if [ "${KATA_HYPERVISOR}" = "cloud-hypervisor" ]; then
echo "Skipping test for ${KATA_HYPERVISOR}"
return 0
fi
info "Running nerdctl smoke test tests using ${KATA_HYPERVISOR} hypervisor"
enabling_hypervisor