Skip to content

tests: add local http server #12024

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

Merged
merged 21 commits into from
Nov 8, 2022
Merged

tests: add local http server #12024

merged 21 commits into from
Nov 8, 2022

Conversation

dholth
Copy link
Contributor

@dholth dholth commented Oct 27, 2022

Description

Test against local http server instead of against github. Runs on a random port in a background thread.

Hopefully we can re-use this for other tests?

Reformatted tests/conda_env/test_create.py.

In addition to being a little bit faster, the local server is helpful when we change the test packages used (since the ones referenced on the main branch are still the older versions).

Resolves #11069

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@dholth dholth requested a review from a team as a code owner October 27, 2022 17:17
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Oct 27, 2022
@dholth dholth force-pushed the local-http-server branch from 3da531a to 41dd738 Compare October 28, 2022 16:08
@jezdez jezdez merged commit a1c4cf4 into main Nov 8, 2022
@jezdez jezdez deleted the local-http-server branch November 8, 2022 12:08
jeskowagner pushed a commit to jeskowagner/conda that referenced this pull request Nov 9, 2022
Co-authored-by: Jannis Leidel <jannis@leidel.info>
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Mar 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed [bot] added once the contributor has signed the CLA locked [bot] locked due to inactivity
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Investigate test relying on the remote master branch
3 participants