Ensure runtime dir is set for crio cleanup

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2023-06-11 12:46:08 +02:00
parent 591e610905
commit c9a8b7f335

View File

@ -27,7 +27,7 @@ testing::crio::hook_created() {
}
testing::crio::hook_cleanup() {
testing::docker_run::toolkit::shell 'crio cleanup'
testing::docker_run::toolkit::shell 'crio cleanup --nvidia-runtime-dir /run/nvidia/toolkit/'
test -z "$(ls -A "${shared_dir}${CRIO_HOOKS_DIR}")"
}