Merge pull request #8776 from GabyCT/topic/addextraqemu

tests: Add hypervisor component to kill kata components function
This commit is contained in:
GabyCT 2024-01-04 14:29:52 -06:00 committed by GitHub
commit 5ea07c2b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ function clean_env_ctr()
function kill_kata_components() {
local ATTEMPTS=2
local TIMEOUT="30s"
local PID_NAMES=( "containerd-shim-kata-v2" "qemu-system-x86_64" "cloud-hypervisor" )
local PID_NAMES=( "containerd-shim-kata-v2" "qemu-system-x86_64" "qemu-system-x86_64-tdx-experimental" "cloud-hypervisor" )
sudo systemctl stop containerd
# iterate over the list of kata components and stop them