mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +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")
|
||||
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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user