Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

test: add online_tests feature to control Internet use #2881

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

mgorny
Copy link
Contributor

@mgorny mgorny commented Jan 11, 2025

Add an online_tests feature that specifically covers tests accessing the Internet. It is enabled by default to preserve the existing behavior, but can be explicitly disabled when running the test suite entirely offline.

I have not added the respective feature checks to
slow_integration_tests, as they all seem to require Internet, so that seems redundant.

Fixes #2880

Add an `online_tests` feature that specifically covers tests accessing
the Internet.  It is enabled by default to preserve the existing
behavior, but can be explicitly disabled when running the test suite
entirely offline.

I have not added the respective feature checks to
`slow_integration_tests`, as they all seem to require Internet, so that
seems redundant.

Fixes prefix-dev#2880
@baszalmstra baszalmstra merged commit c292b58 into prefix-dev:main Jan 11, 2025
28 checks passed
@baszalmstra
Copy link
Contributor

Thank you!

@mgorny mgorny deleted the online-tests branch January 11, 2025 11:23
@mgorny
Copy link
Contributor Author

mgorny commented Jan 11, 2025

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please make all tests work offline or make it easy to skip tests requiring Internet
2 participants