diff --git a/CHANGELOG.md b/CHANGELOG.md index d565137521..a13add7cc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. - Add functionality to unify data of the binary processes with their subprocesses to plot ([#5500](https://github.com/wazuh/wazuh-qa/pull/5500)) \- (Framework) +### Changed + +- Fix test_consistency_initial_scans by adding a 30-minute wait before collecting vulnerabilities. ([#5507](https://github.com/wazuh/wazuh-qa/pull/5507)) \- (Tests) + ## [4.8.0] - 12/06/2024 ### Added diff --git a/provisioning/roles/wazuh/ansible-filebeat-oss/defaults/main.yml b/provisioning/roles/wazuh/ansible-filebeat-oss/defaults/main.yml index 4af68ae478..affd0222ab 100644 --- a/provisioning/roles/wazuh/ansible-filebeat-oss/defaults/main.yml +++ b/provisioning/roles/wazuh/ansible-filebeat-oss/defaults/main.yml @@ -1,7 +1,7 @@ --- filebeat_version: 7.10.2 -wazuh_template_branch: 4.8.0 +wazuh_template_branch: 4.8.1 filebeat_node_name: node-1 diff --git a/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py b/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py index 1c50c90194..238b791679 100644 --- a/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py +++ b/tests/end_to_end/test_vulnerability_detector/test_vulnerability_detector.py @@ -71,8 +71,11 @@ from wazuh_testing.end_to_end.waiters import wait_until_vd_is_updated from wazuh_testing.tools.system import HostManager + pytestmark = [pytest.mark.e2e, pytest.mark.vulnerability_detector, pytest.mark.tier0] +# Wazuh Indexer abuseControl timeout set to 30 minutes (1800 seconds) +MINIMUM_TIMEOUT_RESCAN = 1800 AGENTS_SCANNED_FIRST_SCAN = [] FIRST_SCAN_TIME = None @@ -317,6 +320,9 @@ def test_first_syscollector_scan( "Syscollector scan not started in any agent. Check agent logs for more information" ) + logging.critical("Waiting 30 minutes to avoid Indexer abuseControl.") + time.sleep(MINIMUM_TIMEOUT_RESCAN) + logging.critical("Waiting until agent all agents have been scanned.") time.sleep(TIMEOUT_PER_AGENT_VULNERABILITY_FIRST_SCAN * len(AGENTS_SCANNED_FIRST_SCAN))