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 (T2): Sync of agents registered on nodes after seconds #2514

Closed
Tracked by #2504
damarisg opened this issue Jan 31, 2022 · 2 comments · Fixed by #2761
Closed
Tracked by #2504

System Test - Wazuh DB (T2): Sync of agents registered on nodes after seconds #2514

damarisg opened this issue Jan 31, 2022 · 2 comments · Fixed by #2761

Comments

@damarisg
Copy link
Member

damarisg commented Jan 31, 2022

Description

The aim of this test is to verify that every Z/2 seconds an agent is registered without specifying a group to each node, this happens during 20Z. Where all agents registered after 20Z + X seconds are kept in the database of all nodes with the correct information.

Test Details

Case 1:

Given a configured master master
And a configured worker worker1
And a configured worker worker2
And During 20Z an agent agent-N connects to the master node every Z/2 seconds. (40 agents)
Then each node has all the 40 agents with its default group in no less than 20Z + X seconds in the db..

Case 2:

Given a configured master master
And a configured worker worker1
And a configured worker worker2
And During 20Z an agent agent-N connects to the master node every Z/2 seconds. (40 agents)
Then each node has all the 40 agents with its default group in no less than 20Z + X seconds in the db..

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

Progress done 2022/02/18

@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