metrics: increase the number of attempts to stop kata

This PR increases the number of attempts to stop kata components
when it is required usually before starting a metrics test.

Fixes: #8307

Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
This commit is contained in:
David Esparza
2023-10-24 09:27:32 -06:00
parent 1626253d9e
commit c42a2f2eda
2 changed files with 7 additions and 3 deletions

View File

@@ -201,8 +201,8 @@ function kill_processes_before_start()
CTR_PROCS=$(sudo "${CTR_EXE}" t list -q)
[[ -n "${CTR_PROCS}" ]] && clean_env_ctr
kill_kata_components && sleep 1
kill_kata_components
check_processes
}