From ce54e43ebeaa6b66acd4e8f6ed024be2c06ab019 Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Tue, 11 Jul 2023 17:03:25 +0000 Subject: [PATCH] metrics: Update memory usage script This PR updates memory usage script by applying the clean_env_ctr at the main in order to avoid failures of leaving certain processes not removed. Fixes #7302 Signed-off-by: Gabriela Cervantes --- tests/metrics/density/memory_usage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/metrics/density/memory_usage.sh b/tests/metrics/density/memory_usage.sh index 57d2ce3cdd..dcbcb20ef0 100755 --- a/tests/metrics/density/memory_usage.sh +++ b/tests/metrics/density/memory_usage.sh @@ -320,8 +320,6 @@ EOF metrics_json_add_array_element "$json" metrics_json_end_array "Results" - - clean_env_ctr } function save_config(){ @@ -378,6 +376,7 @@ function main(){ fi metrics_json_save + clean_env_ctr } main "$@"