conda / conda-lock

Lightweight lockfile for conda environments
https://conda.github.io/conda-lock/
Other
488 stars 103 forks source link

Speed up a test which keeps timing out #533

Closed maresb closed 11 months ago

maresb commented 11 months ago

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

netlify[bot] commented 11 months ago

Deploy Preview for conda-lock ready!

Name Link
Latest commit 0d08a374be27f01d43212369a1e8d9360cfc722c
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.