Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate E2E timeouts to waiters module #4949

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ All notable changes to this project will be documented in this file.

### Fixed

- Migrate Vulnerability Detection timeouts variables to the waiters module ([#4949](https://github.com/wazuh/wazuh-qa/pull/4949)) \- (Framework)
- Migrate HostMonitor to system_monitoring to avoid Windows import of ansible module ([#4917](https://github.com/wazuh/wazuh-qa/pull/4917/)) \- (Framework)
- Fixed ansible_runner import conditional to avoid errors on Windows and python 3.6 ([#4916](https://github.com/wazuh/wazuh-qa/pull/4916)) \- (Framework)
- Fixed IT control_service Windows loop ([#4765](https://github.com/wazuh/wazuh-qa/pull/4765)) \- (Framework)
Expand Down
5 changes: 4 additions & 1 deletion deps/wazuh_testing/wazuh_testing/end_to_end/waiters.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
from wazuh_testing.end_to_end.logs import truncate_remote_host_group_files
from wazuh_testing.tools.system import HostManager
from wazuh_testing.modules.syscollector import TIMEOUT_SYSCOLLECTOR_SHORT_SCAN
from wazuh_testing.modules.vulnerability_detector import VD_FEED_UPDATE_TIMEOUT, VD_INITIAL_SCAN_PER_AGENT_TIMEOUT


VD_FEED_UPDATE_TIMEOUT = 300
VD_INITIAL_SCAN_PER_AGENT_TIMEOUT = 15


def wait_until_vd_is_updated(host_manager: HostManager) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@

VULNERABILITY_DETECTOR_PREFIX = r'.*wazuh-modulesd:vulnerability-detector.*'


# End to end tests variables
VD_FEED_UPDATE_TIMEOUT = 300
VD_INITIAL_SCAN_PER_AGENT_TIMEOUT = 15

VULNERABLE_PACKAGES = [
{
"name": "custom-package-0",
Expand Down
Loading