-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Showing
1 changed file
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters