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

IT: Fix tests fails caused by stats socket changes #3146

Merged
merged 15 commits into from
Aug 25, 2022
Merged

Conversation

Deblintrake09
Copy link
Contributor

@Deblintrake09 Deblintrake09 commented Aug 3, 2022

Related issue
#3113 (failing checks)

Description

This PR aims to fix the tests that started failing after the changes done in the PR associated to the Manual testing Issue #3113.
The Wazuh/Wazuh PR #13713 changed the analysisd, remoted and wazuhdb sockets, which caused tests to fail, requiring changes in commands passed in and the expected outputs.

Added

  • One new test case for test_wazuhdb_getconfig.py

Updated

  • Updated remoted socket path
  • All Test cases inputs and outputs in test_wazuhdb_getconfig.py
  • Updated test_remoted modules that required updates in input or output checks
  • Update regex to matchexpected responses for:test_get_configuration_sock.pyandtest_rules_verbose.pyfrom thetest_logtest` suite.

Testing performed

Tester Test path Jenkins Local OS Commit Notes
@Deblintrake09 (Developer) test_wazuh_db/ 🟢 🟢 🟢 🟢 🟢 🟢 Centos8 43f351e Nothing to highlight
@user (Reviewer) test_wazuh_db ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight
@Deblintrake09 (Developer) test_remoted/ 🟢 🟢 🟢 ⚫ ⚫ ⚫ Centos8 43f351e Nothing to highlight
@user (Reviewer) test_wazuh_db ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight
@Deblintrake09 (Developer) test_logtest/ 🟢 🟢 🟢 ⚫ ⚫ ⚫ Centos8 43f351e Nothing to highlight
@user (Reviewer) test_wazuh_db ⚫⚫⚫ 🚫 🚫 🚫 Nothing to highlight

@Deblintrake09 Deblintrake09 marked this pull request as ready for review August 3, 2022 21:44
@Deblintrake09 Deblintrake09 linked an issue Aug 3, 2022 that may be closed by this pull request
11 tasks
@Deblintrake09 Deblintrake09 changed the base branch from master to 4.4 August 4, 2022 11:05
@Deblintrake09 Deblintrake09 changed the title IT WDB: Fix Getconfig tests IT : Fix tests fails caused by stats socket changes Aug 8, 2022
@snaow snaow changed the title IT : Fix tests fails caused by stats socket changes IT: Fix tests fails caused by stats socket changes Aug 17, 2022
@jmv74211 jmv74211 merged commit bbc1d89 into 4.4 Aug 25, 2022
@jmv74211 jmv74211 deleted the fix-wdb-getconfig branch August 25, 2022 15:15
@vikman90 vikman90 added this to the Development 4.4 milestone Aug 31, 2022
jmv74211 added a commit that referenced this pull request Sep 8, 2022
Revert PR #3146 "IT: Fix tests fails caused by stats socket changes"
@jmv74211 jmv74211 restored the fix-wdb-getconfig branch September 8, 2022 07:15
jmv74211 added a commit that referenced this pull request Sep 8, 2022
@jmv74211 jmv74211 deleted the fix-wdb-getconfig branch September 8, 2022 07:17
jmv74211 added a commit that referenced this pull request Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Wazuh manager statistics
3 participants