diff --git a/deployability/modules/testing/tests/helpers/central.py b/deployability/modules/testing/tests/helpers/central.py index c5d7821532..331916cce2 100644 --- a/deployability/modules/testing/tests/helpers/central.py +++ b/deployability/modules/testing/tests/helpers/central.py @@ -98,7 +98,7 @@ def perform_action_and_scan(host_params, action_callback) -> dict: 'removed': ['filebeat'], 'modified': [] }, - '/root': {'added': ['trustdb.gpg', 'lesshst'], 'removed': ['filebeat'], 'modified': []}, + '/root': {'added': ['trustdb.gpg', 'lesshst', 'ssh'], 'removed': ['filebeat'], 'modified': []}, '/usr/sbin': { 'added': [ 'update-catalog', 'applygnupgdefaults', 'addgnupghome', 'install-sgmlcatalog', 'update-xmlcatalog' diff --git a/deployability/modules/testing/tests/helpers/dashboard.py b/deployability/modules/testing/tests/helpers/dashboard.py index b3161910df..d99449284c 100644 --- a/deployability/modules/testing/tests/helpers/dashboard.py +++ b/deployability/modules/testing/tests/helpers/dashboard.py @@ -84,7 +84,7 @@ def areDashboardNodes_working(wazuh_api: WazuhAPI) -> str: logger.error(f'The dashboard API returned: {response.status_code}') @staticmethod - def isDashboard_port_opened(inventory_path, wait=10, cycles=10): + def isDashboard_port_opened(inventory_path, wait=10, cycles=50): """ Check if dashboard port is open diff --git a/deployability/modules/testing/tests/helpers/indexer.py b/deployability/modules/testing/tests/helpers/indexer.py index c865098ca2..5073cc7d5a 100644 --- a/deployability/modules/testing/tests/helpers/indexer.py +++ b/deployability/modules/testing/tests/helpers/indexer.py @@ -88,7 +88,7 @@ def isIndexCluster_working(wazuh_api: WazuhAPI, inventory_path) -> bool: @staticmethod - def isIndexer_port_opened(inventory_path, wait=10, cycles=10): + def isIndexer_port_opened(inventory_path, wait=10, cycles=50) -> bool: """ Check if indexer port is open diff --git a/deployability/modules/testing/tests/helpers/manager.py b/deployability/modules/testing/tests/helpers/manager.py index b21b12bed9..b7f4d7e5d1 100644 --- a/deployability/modules/testing/tests/helpers/manager.py +++ b/deployability/modules/testing/tests/helpers/manager.py @@ -226,7 +226,7 @@ def assert_results(result) -> None: @staticmethod - def isWazuhAPI_port_opened(inventory_path, wait=10, cycles=10) -> bool: + def isWazuhAPI_port_opened(inventory_path, wait=10, cycles=50) -> bool: """ Check if Manager API port is open @@ -251,7 +251,7 @@ def isWazuhAPI_port_opened(inventory_path, wait=10, cycles=10) -> bool: return False @staticmethod - def isWazuhAgent_port_opened(inventory_path, wait=10, cycles=10) -> bool: + def isWazuhAgent_port_opened(inventory_path, wait=10, cycles=50) -> bool: """ Check if Wazuh Manager Agent port is open @@ -276,7 +276,7 @@ def isWazuhAgent_port_opened(inventory_path, wait=10, cycles=10) -> bool: return False @staticmethod - def isWazuhAgent_enrollment_port_opened(inventory_path, wait=10, cycles=10) -> bool: + def isWazuhAgent_enrollment_port_opened(inventory_path, wait=10, cycles=50) -> bool: """ Check if Wazuh Manager Agent enrollment port is open