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

TMP: Re-run on windows with the same seed #925

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Apr 1, 2024

No description provided.

mvz added 5 commits November 10, 2024 13:44
On Windows, the finalizer for Tempfile will raise an error if
Errno::ENOACCES is raised when removing the file. However, if this
happens when #unlink is called, the error is caught.

This change calls #unlink on the Tempfiles that are used to store the
output of spawned processes. This means the finalizer will not need to
unlink the file, so any Errno::ENOACCES errors during unlinking will be
caught.

The raised errors did not make any specs fail, but they did appear in
the rspec output.
@mvz mvz force-pushed the tmp-windows-test branch from e25551d to e0ef408 Compare November 10, 2024 12:44
@mvz mvz changed the title Re-run on windows with the same seed TMP: Re-run on windows with the same seed Nov 10, 2024
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