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

Fix test_remoted cases for failures caused by new development of Wazuh DB #2825

Closed
2 tasks done
damarisg opened this issue Apr 25, 2022 · 2 comments · Fixed by #2829
Closed
2 tasks done

Fix test_remoted cases for failures caused by new development of Wazuh DB #2825

damarisg opened this issue Apr 25, 2022 · 2 comments · Fixed by #2829

Comments

@damarisg
Copy link
Member

damarisg commented Apr 25, 2022

Description

Working on Migrate agent-group files to wazuh-db, the core team detected that there are affected tests by the new changes.

The objective of this issue is to perform the refactor of each affected test.

Failure output:

FileNotFoundError: [Errno 2] No such file or directory: '/var/ossec/queue/agent-groups/036'

To Do

  • Investigate why the test fails
  • Fix each test of Remoted that show any error related to Wazuh_DB
@CamiRomero
Copy link
Contributor

CamiRomero commented Apr 25, 2022

Task 1 - Investigate why the test fails

The test fails because it is use the old method to assign an agent to a group. This test is affected by Issue 10771.

Is necessary to modify the test and assign agent to a group using API or agent_groups tool

@CamiRomero
Copy link
Contributor

Task 2 - Fix each test of Remoted that show any error related to Wazuh_DB

The changes are in branch 2825_fix_multigroups.

The changes are: adding an agent to a default groups and a specific group (multigroup) using agent_groups tool

@damarisg damarisg linked a pull request Apr 27, 2022 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants