From aa4a27ab7bf745d188ae5459ebcdba092de31620 Mon Sep 17 00:00:00 2001 From: javier Date: Mon, 29 Jan 2024 17:24:09 +0100 Subject: [PATCH] fix: change files syntax artifacts_path --- CHANGELOG.md | 1 + .../wazuh_testing/tools/performance/csv_parser.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e837a350b0..40b4e2c7e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ All notable changes to this project will be documented in this file. - Fix hardcoded python interpreter in qa_framework role. ([#4658](https://github.com/wazuh/wazuh-qa/pull/4658)) \- (Framework) - Fix duplicated jq dependency ([#4678](https://github.com/wazuh/wazuh-qa/pull/4678)) \- (Framework) - Fix test_file_checker in check_mtime case ([#4873](https://github.com/wazuh/wazuh-qa/pull/4873)) \- (Tests) +- Fix test cluster performance. ([#4780](https://github.com/wazuh/wazuh-qa/pull/4780)) \- (Framework) ## [4.7.2] - TBD diff --git a/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py b/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py index 25995bf28f..7b73f005b2 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py +++ b/deps/wazuh_testing/wazuh_testing/tools/performance/csv_parser.py @@ -241,8 +241,8 @@ class ClusterCSVResourcesParser(ClusterCSVParser): def __init__(self, artifacts_path, columns=None): self.columns = ['USS(KB)', 'CPU(%)', 'FD'] if columns is None else columns - super().__init__(artifacts_path, files_to_load=['wazuh-clusterd', 'integrity_sync', 'wazuh-clusterd_child_1', - 'wazuh-clusterd_child_2']) + super().__init__(artifacts_path, files_to_load=['wazuh_clusterd', 'integrity_sync', 'wazuh_clusterd_child_1', + 'wazuh_clusterd_child_2']) def _calculate_stats(self, df): """Calculate mean and regression coefficient of each column in self.columns from a dataframe.