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

releng - configure away pytest implicit magic for test speed #6068

Merged
merged 1 commit into from Aug 25, 2020

Conversation

kapilt
Copy link
Collaborator

@kapilt kapilt commented Aug 24, 2020

so pytest does a bunch of implicit magic, and wastes quite a bit of time looking at non python files, so ignore the non python data files. on a no-op test collection this drops time from 6s down to 1s, and with xdist from 15s to 5s (16 hw threads) since xdist duplicates test collection for each worker process.

@kapilt kapilt merged commit 6a61743 into cloud-custodian:master Aug 25, 2020
@kapilt kapilt deleted the releng/pytest-ignore-data-dir branch August 25, 2020 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant