Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test in_tail: use safer method to cleanup
This PR aims to fix in_tail test cases on Windows. On Windows, when the file or directory is removed and created frequently, there is a case that creating file or directory will fail. This situation is caused by pending file or directory deletion which is mentioned on win32 API document. ref. https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#files As a workaround, execute rename and remove method. Signed-off-by: Kentaro Hayashi <[email protected]>
- Loading branch information