-
Notifications
You must be signed in to change notification settings - Fork 30
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
wazuh-agentd stats IT #1039
wazuh-agentd stats IT #1039
Conversation
6ce217e
to
4865282
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you have used a different function documentation format, although I think this is also interpretable by Sphinx. Please check this.
I have also seen several global
declarations in the files that I think are unnecessary. I've indicated one, but I've seen several, so please take an overview of all of them and consider whether they are really necessary.
e3a5c4e
- Fix some race condition in configuration tests - Add remote/file state tests - Add request method to RemotedSimulator
- Remove default read permission for file opening - Change doubles quotes to single quotes for strings - Add docstrings - Rename some functions and variables to be more intuitive - Change state file name in windows agent - Reorder some tests asserts
- Reorder imports - Change line limits from 80 to 120 - Unify duplicated funcions - Rename confusing variables and functions - Change some docstrings - Change way for reading and iterating thru files
- Remove unnecessary global statements - Fix some docstrings - Better approach to change internals values - Increase timeout in watching logs functions
e8acef9
e3a5c4e
to
e8acef9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !!
Description
Hi team!
This PR aims to add integration test for
wazuh-agentd
stats mechanism, that consist in:agent.state_interval
valuesgetstate
) and their correct valueTests
pycodestyle --max-line-length=120 --show-source --show-pep8 file.py
Regards,
Nico