-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[chore] move e2e tests out of datadogexporter to reduce dependencies #42805
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
Conversation
e47cc47 to
d3d66ae
Compare
paulojmdias
left a comment
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.
d3d66ae to
f435a19
Compare
e4cfac9 to
eaf3f49
Compare
jade-guiton-dd
left a comment
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.
Looks like some of the import statements will need to be updated for the latest core release, and you may need to re-run make crosslink to fix the replace statements; otherwise looks good.
songy23
left a comment
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.
Thanks @atoulme Please rebase or merge main, otherwise LGTM
eaf3f49 to
2c8142b
Compare
2c8142b to
a6e3b4d
Compare
mx-psi
left a comment
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.
Thanks for doing this @atoulme ❤️
…pen-telemetry#42805) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Some dependencies of datadogexporter are other components, which themselves are bringing over dependencies to anyone using this exporter. This PR moves the e2e tests to a separate module to avoid this complexity. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#42591
…pen-telemetry#42805) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Some dependencies of datadogexporter are other components, which themselves are bringing over dependencies to anyone using this exporter. This PR moves the e2e tests to a separate module to avoid this complexity. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#42591
…pen-telemetry#42805) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Some dependencies of datadogexporter are other components, which themselves are bringing over dependencies to anyone using this exporter. This PR moves the e2e tests to a separate module to avoid this complexity. <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Fixes open-telemetry#42591
#### Description #42805 moved Datadog's E2E tests into `internal/e2e`, and the example configurations used as part of the tests into `internal/e2e/examples`. The intent was to move the tests into `internal/datadog/e2e` instead, but it looks like this change was accidentally reverted during a force push. Moreover, it seems that moving the example configs created some broken links (eg. [here, "collector.yaml"](https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/datadogexporter#datadog-exporter), [here, "example configuration"](https://docs.datadoghq.com/opentelemetry/setup/collector_exporter/deploy/?tab=gateway#kubernetes)). This PR: - moves `internal/e2e` to `internal/datadog/e2e` - moves the example configs back to their original location to restore these links
Description
Some dependencies of datadogexporter are other components, which themselves are bringing over dependencies to anyone using this exporter. This PR moves the e2e tests to a separate module to avoid this complexity.
Link to tracking issue
Fixes #42591