You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In light of the recent challenges encountered during the upgrade of Wazuh-Indexer to version 4.11.0 (#729), we propose the development of automated tests for version 5.x. These tests will complement existing automatic installation tests and manual end-to-end (E2E) tests.
The objective of this testing suite is to cover the installation, upgrade, and uninstallation processes of the Wazuh-Indexer component by evaluating various scenarios that may result in both successful and unsuccessful outcomes. It's crucial to document the specific conditions contributing to each outcome and to assess the behavior of the Wazuh-Indexer service under these scenarios.
Functional requirements
The package building workflow must incorporate install, uninstall, and upgrade smoke tests.
The smoke test should only verify the successful execution of the command using the exit code.
The upgrade process should be performed from the most recent published version.
Example:
v5.0.1 should upgrade from v5.0.0.
v5.1.0 should upgrade from the latest available published patch of 5.0.
The workflow must be able to infer the latest published patch of any minor version and download the corresponding package.
The test covers an upgrade of wazuh-indexer following the upgrade guide.
The test covers an upgrade of wazuh-indexer not following the upgrade guide.*
The test is automatic.
* The upgrade is performed without stopping the wazuh-indexer service.
Implementation restrictions
The development must be integrated within the existing package-building workflow.
The test logic is implemented on bash scripts for best portability.
Plan
Install test.
Upgrade test.
Uninstall test.
Technical documentation.
The text was updated successfully, but these errors were encountered:
Description
In light of the recent challenges encountered during the upgrade of Wazuh-Indexer to version 4.11.0 (#729), we propose the development of automated tests for version 5.x. These tests will complement existing automatic installation tests and manual end-to-end (E2E) tests.
The objective of this testing suite is to cover the installation, upgrade, and uninstallation processes of the Wazuh-Indexer component by evaluating various scenarios that may result in both successful and unsuccessful outcomes. It's crucial to document the specific conditions contributing to each outcome and to assess the behavior of the Wazuh-Indexer service under these scenarios.
Functional requirements
v5.0.1
should upgrade fromv5.0.0
.v5.1.0
should upgrade from the latest available published patch of5.0
.* The upgrade is performed without stopping the wazuh-indexer service.
Implementation restrictions
Plan
The text was updated successfully, but these errors were encountered: