Skip to content
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

Speed up a test which keeps timing out #533

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

maresb
Copy link
Contributor

@maresb maresb commented Oct 18, 2023

Description

Several of the recent runs on Windows have been timing out due to the test test_run_lock_with_update_filter_platform, which has a timeout of 120 seconds. This test makes two calls to conda-lock lock. In this PR I precompute the lockfile for the first call.

There are similar tests which may benefit from the same precomputation such as test_remove_dependency, test_move_dependency_from_pip_section, test_run_lock_with_locked_environment_files, but I'll do those later if needed.

CC: @mfisher87

@maresb maresb requested a review from a team as a code owner October 18, 2023 11:36
@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for conda-lock ready!

Name Link
🔨 Latest commit 0d08a37
🔍 Latest deploy log https://app.netlify.com/sites/conda-lock/deploys/652fc3712f4a9f00085465de
😎 Deploy Preview https://deploy-preview-533--conda-lock.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@maresb maresb merged commit f760313 into conda:main Oct 18, 2023
8 checks passed
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.

1 participant