-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add version metadata #4949
Add version metadata #4949
Conversation
Codecov Report
|
a7342e5
to
24c5eb9
Compare
24c5eb9
to
5fe8106
Compare
'datadog_checks.postfix.postfix.get_subprocess_output', | ||
return_value=('mail_version = {}'.format(MOCK_VERSION), None, None), | ||
) | ||
def test_collect_metadata(aggregator, datadog_agent): |
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.
How does integration/e2e works for postfix? Can we also run a similar test against a real container?
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.
There is currently no integration/e2e with actual postfix
installed.
Let me check if I can add a integration/e2e for that.
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 added this comment # TODO: Migrate this test as e2e test when it's possible to retrieve the metadata from the Agent
I added support for e2e here #4948
So, we can test in e2e when we can retrieve metadata from the agent.
It seems not possible to implement easily the test as integration since you need postfix to be installed on the same machine.
5fe8106
to
f8cad01
Compare
No description provided.