Skip to content

Commit

Permalink
Merge pull request #4780 from wazuh/feature/4298-fix-performance-test
Browse files Browse the repository at this point in the history
Fix test cluster performance
  • Loading branch information
davidjiglesias committed Feb 8, 2024
2 parents 00515b2 + aa4a27a commit 578027a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,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] - 10/01/2024

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 578027a

Please sign in to comment.