Skip to content

[tests] allow tests to use additional_checksd parameter#2896

Closed
cberry777 wants to merge 2 commits intoDataDog:masterfrom
cberry777:dd-PR1-tests_checksd
Closed

[tests] allow tests to use additional_checksd parameter#2896
cberry777 wants to merge 2 commits intoDataDog:masterfrom
cberry777:dd-PR1-tests_checksd

Conversation

@cberry777
Copy link
Contributor

What does this PR do?

A one-line change that allows tests to optionally access the 'additional_checksd' parameter from the appConfig when using 'load_check()'

Motivation

This is mandatory if you want to have a set of Checks that you will not be submitting back to Datadog. And wish to use the 'additional_checksd' feature to access them. And you also want to be able to reuse Datadog's excellent AgentCheckTest and supporting code.

Testing Guidelines

N/A (it is a part of the test infrastructure)

Additional Notes

None.
It is a one-liner.
It is innocuous if you do not define 'additional_checksd' in your test's appConfig.
But without it, you must resort to dropping your code into a checkout of dd-agent's checks.d.

@remh
Copy link

remh commented Oct 26, 2016

Thanks!
There is a weird binary file with your PR.
tests/core/fixtures/flare/datadog-agent-1.tar.bz2
Can you remove it please ?

@masci masci added this to the 5.11.0 milestone Dec 2, 2016
@masci
Copy link
Contributor

masci commented Dec 2, 2016

Hi @cberry777,
had the chance to strip the binary file?
Thanks!

@cberry777
Copy link
Contributor Author

cberry777 commented Dec 2, 2016

Closed this PR in favor of #3056.

I have no idea how that binary was introduced (I believe it came from running rake?)
And I couldn't figure out how to delete it -- since it is NOT in my branch

It was easier to just create a brand new PR...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants