-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ASCII-950] Add test for pkg/status/render
#21106
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9fe20d4
Add basic test to validate status text ouput is correct
GustavoCaso 4c47ea7
fix autodiscovery template
GustavoCaso 7677490
autogenerate text output
GustavoCaso 73701e2
remove hack to create initial file on the first place
GustavoCaso 1030b3c
force timezone on the tests
GustavoCaso b04b1d9
skip windows for render tests
GustavoCaso b496540
force UTC timezone for tests
GustavoCaso 61fc133
replace window line b reak with linux
GustavoCaso d9ab69d
add test for cluster agent
GustavoCaso 033898a
add test for security agent status output
GustavoCaso 8155a18
add test for process agent status output
GustavoCaso 4cfae3e
add test for check stats output
GustavoCaso aa953d0
use table test format
GustavoCaso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We have to add the top-level key because the template for process agent change in a previous PR https://github.com/DataDog/datadog-agent/pull/20824/files#diff-5399c03d823d8e2533aa6fc4d1a1f523a999353a481c78c3f1a60cabecad1cbfR8
I'm planning on reusing the existing code of the
pkg/status
on follow-up PR to DRY the code 😄