-
Notifications
You must be signed in to change notification settings - Fork 32
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 forced to change group #2512
Labels
Comments
Update 2022/02/14
Update 2022/02/11
|
5 tasks
5 tasks
13 tasks
It was merged on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The aimhere is to verify that in a synchronized environment with N agents belonging to different groups, we force the group change of an agent in a worker node (wdb).
Test Details
Case 1:
Given a configured master
And a
worker1
worker configuredAnd a
worker2
worker configuredAnd the agent
AA
registers with groupA
to the master nodeAnd the agent
AB
registers with groupB
to the master nodeAnd the agent
AC
registers with groupC
to the master nodeAnd the cluster is synchronized
When the agent
AA
registered is force to change groupB
(force with wdb command)Then the
master
has anAA
agent with groupB
afterX
secondsAnd the
worker1
has anAA
agent with groupB
afterX
secondsAnd the
worker2
has anAA
agent with groupB
afterX
secondsCase 2:
Given a configured master
And a
worker1
worker configuredAnd a
worker2
worker configuredAnd the agent
AA
registers with groupA
to theworker2
worker nodeAnd the agent
AB
registers with groupB
to theworker1
worker nodeAnd the agent
AC
registers with groupC
to theworker1
worker nodeAnd the cluster is synchronized
When the agent
AA
registered is force to change groupB
(force with wdb command)Then the
master
has anAA
agent with groupB
afterX
secondsAnd the
worker1
has anAA
agent with groupB
afterX
secondsAnd the
worker2
has anAA
agent with groupB
afterX
secondsCase 3:
Given a configured master
And a
worker1
worker configuredAnd a
worker2
worker configuredAnd the agent
AA
registers with groupA
to theworker2
worker nodeAnd the agent
AB
registers with groupB
to theworker1
worker nodeAnd the agent
AC
registers with groupD
to theworker1
worker nodeAnd the cluster is synchronizing
When the agent
AA
registered is force to change groupB
(force with wdb command)And the agent
AA
registered is force to change groupC
(force with wdb command)And the cluster is synchronized after
Z
secondsThen the
worker1
has anAA
agent with groupC
afterX
secondsAnd the
worker2
has anAA
agent with groupC
afterX
secondsAnd the
master
has anAA
agent with groupC
afterX
secondsNote:
The text was updated successfully, but these errors were encountered: