Skip to content

net: Fix unit tests requiring default resources.#36838

Merged
jdm merged 1 commit intoservo:mainfrom
jdm:net-unit-tests
May 5, 2025
Merged

net: Fix unit tests requiring default resources.#36838
jdm merged 1 commit intoservo:mainfrom
jdm:net-unit-tests

Conversation

@jdm
Copy link
Copy Markdown
Member

@jdm jdm commented May 5, 2025

When all unit tests are run, the existing feature flag use from net_traits was enough to ensure the default resources are baked into the test binary. When only the unit tests for the net crate are run, that feature flag was not enabled in the build so the tests that require the resources fail.

Testing: Ran ./mach test-unit -p net
Fixes: #36837

@jdm jdm added this pull request to the merge queue May 5, 2025
Merged via the queue into servo:main with commit 5051d52 May 5, 2025
21 checks passed
@jdm jdm deleted the net-unit-tests branch May 5, 2025 05:17
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.

mach test-unit -p net fails

2 participants