mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 08:17:37 +00:00
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:
parent
81c8babca9
commit
9ac29b8d38
@ -23,6 +23,8 @@ function main() {
|
|||||||
cmds=("bc" "jq")
|
cmds=("bc" "jq")
|
||||||
check_cmds "${cmds[@]}"
|
check_cmds "${cmds[@]}"
|
||||||
|
|
||||||
|
init_env
|
||||||
|
|
||||||
# Check no processes are left behind
|
# Check no processes are left behind
|
||||||
check_processes
|
check_processes
|
||||||
|
|
||||||
@ -80,6 +82,7 @@ EOF
|
|||||||
metrics_json_save
|
metrics_json_save
|
||||||
|
|
||||||
kubectl delete pod "$client_pod_name" "$server_pod_name"
|
kubectl delete pod "$client_pod_name" "$server_pod_name"
|
||||||
|
kubectl get pods -A
|
||||||
check_processes
|
check_processes
|
||||||
}
|
}
|
||||||
main "$@"
|
main "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user