mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-13 21:56:32 +00:00
metrics: fix FIO test initialization
This PR changes the order in which the FIO test first
cleans the environment and then checks if the environment
is indeed clean.
Fixes: #7869
Signed-off-by: David Esparza <david.esparza.borquez@intel.com>
(cherry picked from commit adfea55b8f
)
This commit is contained in:
parent
89345b6731
commit
053308eefc
@ -15,8 +15,8 @@ TEST_NAME="${TEST_NAME:-fio}"
|
||||
function main() {
|
||||
cmds=("bc" "jq")
|
||||
check_cmds "${cmds[@]}"
|
||||
check_processes
|
||||
init_env
|
||||
check_processes
|
||||
|
||||
pushd "${FIO_PATH}"
|
||||
[ -z "${KATA_HYPERVISOR}" ] && die "Hypervisor ID is missing."
|
||||
|
Loading…
Reference in New Issue
Block a user