metrics: Add init_env function to latency test

This Pr adds the init_env function to latency test.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-09-25 17:01:42 +00:00
parent 81c8babca9
commit 9ac29b8d38

View File

@ -23,6 +23,8 @@ function main() {
cmds=("bc" "jq")
check_cmds "${cmds[@]}"
init_env
# Check no processes are left behind
check_processes
@ -80,6 +82,7 @@ EOF
metrics_json_save
kubectl delete pod "$client_pod_name" "$server_pod_name"
kubectl get pods -A
check_processes
}
main "$@"