You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider introducing this fix that the JUnit 5 team accepted for their own TempDir, to our own TemporaryDirectory class. It will allow tests that use our TemporaryDirectory to restore file permissions for temporary directories/files, so that they can be successfully removed after each test no matter what.
Note: we should consider applying this fix only for tests that use the local filesystem, as I have a feeling that other filesystems like jimfs (which we intend to support) might not support file permissions.
Consider introducing this fix that the JUnit 5 team accepted for their own
TempDir
, to our ownTemporaryDirectory
class. It will allow tests that use ourTemporaryDirectory
to restore file permissions for temporary directories/files, so that they can be successfully removed after each test no matter what.Note: we should consider applying this fix only for tests that use the local filesystem, as I have a feeling that other filesystems like jimfs (which we intend to support) might not support file permissions.
This issue is a follow-up to #348 | #491.
Relevant JUnit 5 issues:
AccessDeniedException
junit-team/junit5#2609The text was updated successfully, but these errors were encountered: