From adfea55b8f347d0caa13d29c8f6f16a6cc1a8da4 Mon Sep 17 00:00:00 2001 From: David Esparza Date: Thu, 7 Sep 2023 15:41:59 -0600 Subject: [PATCH] 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 --- tests/metrics/storage/fio-k8s/fio-test-ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/metrics/storage/fio-k8s/fio-test-ci.sh b/tests/metrics/storage/fio-k8s/fio-test-ci.sh index 0576647f0c..9933bffdb2 100755 --- a/tests/metrics/storage/fio-k8s/fio-test-ci.sh +++ b/tests/metrics/storage/fio-k8s/fio-test-ci.sh @@ -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."