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

System Test - Wazuh DB (T0): Agent never_connected connects #2505

Closed
Tracked by #2504
damarisg opened this issue Jan 28, 2022 · 3 comments · Fixed by #2665
Closed
Tracked by #2504

System Test - Wazuh DB (T0): Agent never_connected connects #2505

damarisg opened this issue Jan 28, 2022 · 3 comments · Fixed by #2665

Comments

@damarisg
Copy link
Member

damarisg commented Jan 28, 2022

Description

This test aims to verify that the agent connects correctly to the cluster and that when it has no specific configuration, the agent belongs to the default group.

Test Details

Case 1:

Given a configured master
And two workers configured
When an agent connects to the master node
Then the agent changes its never_connected state to Active
And each node has the agent with its default group after X seconds

Case 2:

Given a configured master
And two workers configured
When an agent connects to the worker nodes
Then the agent changes its never_connected state to Active
And each node has the agent with its default group after X seconds

Note:

  • X: Estimated time for complete information synchronization, minimum 2*Z --- worker1 -> master -> worker1/2
  • Z: Cluster synchronization period (default 10 seconds)
@Deblintrake09
Copy link
Contributor

Updates 2022/01/31

  • Read Wazuh_db documentation and changes to test

@damarisg damarisg changed the title ST: WazuhDB - Tier 0: Verify if nodes are connected to an agent, nodes have the agent with the default group. ST: WazuhDB - Tier 0: Agent never_connected connects Jan 31, 2022
@damarisg damarisg changed the title ST: WazuhDB - Tier 0: Agent never_connected connects System Test - Wazuh DB (T0): Agent never_connected connects Feb 1, 2022
@Deblintrake09
Copy link
Contributor

Deblintrake09 commented Feb 9, 2022

  • Advanced with development. Test designed but fails because development from core still needs to be done.
  • Blocked by Wazuh/Wazuh Issue #10771

@damarisg
Copy link
Member Author

It was merged on qa-10771-agent-groups-files-to-wazuh-db branch and closed.

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.

3 participants