Skip to content

Fix local run of tests#53

Merged
xlamorlette-datadog merged 3 commits intomainfrom
xlamorlette/fix-local-test-procedure
Apr 7, 2026
Merged

Fix local run of tests#53
xlamorlette-datadog merged 3 commits intomainfrom
xlamorlette/fix-local-test-procedure

Conversation

@xlamorlette-datadog
Copy link
Copy Markdown
Contributor

@xlamorlette-datadog xlamorlette-datadog commented Apr 3, 2026

This PR is made of some fixes to run locally the tests on MacOS.
With these fixes, one should now be able to run successfully the smoke tests, the CI tests, and the RUM tests.

A next PR will concentrate on emphasizing that one should run tests on Linux (via Docker) rather than on MacOS, and will also try to have all tests run on CI (currently, most tests are skipped in the CI!).

@datadog-datadog-prod-us1-2
Copy link
Copy Markdown

datadog-datadog-prod-us1-2 bot commented Apr 3, 2026

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 51.25% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: ac362bd | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback!

@xlamorlette-datadog xlamorlette-datadog force-pushed the xlamorlette/fix-local-test-procedure branch from 00acd2b to 22a0815 Compare April 3, 2026 15:14
@xlamorlette-datadog xlamorlette-datadog changed the title Little improved error handling in setup-httpd.py Fix local run of tests Apr 3, 2026
@xlamorlette-datadog xlamorlette-datadog force-pushed the xlamorlette/fix-local-test-procedure branch from 22a0815 to 416ff28 Compare April 3, 2026 15:42
@xlamorlette-datadog xlamorlette-datadog marked this pull request as ready for review April 3, 2026 15:56
@xlamorlette-datadog xlamorlette-datadog requested a review from a team as a code owner April 3, 2026 15:56
@xlamorlette-datadog xlamorlette-datadog requested review from Anilm3 and removed request for a team April 3, 2026 15:56
"pytest>=7.4.4",
"requests>=2.31.0",
"ddapm-test-agent>=1.40.0",
"ddapm-test-agent==1.40.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason for setting one version of the test agent and not updating?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed! This was kind of a random attempt to make the tests pass locally! Anyway, I still have failures, and I'm going to set up a procedure to run tests within a container. So I'm going to cancel this change.

Copy link
Copy Markdown

@zacharycmontoya zacharycmontoya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one small question

@xlamorlette-datadog xlamorlette-datadog merged commit e1d804b into main Apr 7, 2026
10 checks passed
@xlamorlette-datadog xlamorlette-datadog deleted the xlamorlette/fix-local-test-procedure branch April 7, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants