Skip to content

Bugfix: remove unit tests that install real packages#15646

Merged
scheibelp merged 1 commit intospack:developfrom
scheibelp:bugfix/remove-tests-that-install-packages
Mar 24, 2020
Merged

Bugfix: remove unit tests that install real packages#15646
scheibelp merged 1 commit intospack:developfrom
scheibelp:bugfix/remove-tests-that-install-packages

Conversation

@scheibelp
Copy link
Copy Markdown
Member

Our unit tests run many times. Any unit test which actually installs a package (which involves fetching code on the internet) is a severe bug because it runs an installation many times (i.e. re-downloading the same package for each version of Python that we run unit tests for).

This reverts commit 25893f1, which added tests that install real packages.

@scheibelp
Copy link
Copy Markdown
Member Author

For more info on how this can go wrong, see https://travis-ci.org/github/spack/spack/jobs/665754505?utm_medium=notification&utm_source=github_status

(a build job for an innocent package PR #15627 submitted after 25893f1)

configure: WARNING: Found Makefile - using build include spec and lib specs for tdbc
2981
curl: (22) The requested URL returned error: 429 too many requests

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