Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WindowsFile: Allow Fluentd to respect DeletePending
I think I found a way to add testing for the changeset f61c08c. 1. Create a test file with FILE_SHARE_DELETE mode. 2. Call DeleteFile() on that file. 3. Call stat() on that file. 4. Check if ENOENT is raised in step 3. Confirmed to work fine on GitHub Action: WindowsFile exceptions: test: ERROR_SHARING_VIOLATION raised: .: (0.001220) test: Errno::ENOENT raised: .: (0.000633) test: Errno::ENOENT raised on DeletePending: .: (0.000717) test: nothing raised: .: (0.000835) Signed-off-by: Fujimoto Seiji <fujimoto@ceptord.net>
- Loading branch information