-
-
Notifications
You must be signed in to change notification settings - Fork 675
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
BUG: Use unique filenames for Nifti tests #4659
BUG: Use unique filenames for Nifti tests #4659
Conversation
@cookpa please take a look |
a7ebb9a
to
7ba89f7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if the output NIfTI files can be compressed (*.nii.gz
) directly to save space, but approving.
Thanks for tracking this down @thewtex . The fixes look good to me. |
Yes, this works locally -- updating. |
When the tests are run in parallel they can try to write to or remove the same file from different processes, causing intermittent failures. Also add `const` where it is missing. Also use full paths as tests inputs, instead of changing directories, which is more explicit.
7ba89f7
to
396d62f
Compare
@thewtex THANK YOU! |
When the tests are run in parallel they can try to write to or remove
the same file from different processes, causing intermittent failures.
Also add
const
where it is missing.Also use full paths as tests inputs, instead of changing directories,
which is more explicit.