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

Write test output to temporary folder and make tests not interact so they can be run in parallel #460

Open
bhazelton opened this issue May 15, 2024 · 0 comments

Comments

@bhazelton
Copy link
Member

Currently many files are written to folders in the repo. They are deleted if tests pass but if tests fail they can linger behind. We should really only be writing to temporary folders.

Also, tests fail if pytest is run in parallel (with the -n auto) flag, which makes running tests much slower. This is especially problematic since so many of the tests (especially in test_xrfi.py) are really slow. I think much of this is related to outputs being written to the same file names, so this is likely to be fixed by going to writing all outputs to temporary folders.

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

No branches or pull requests

1 participant