Bug 232065

Summary: [Win] TestWTF.FileSystemTest.* is timing out if it is run by normal user
Product: WebKit Reporter: Fujii Hironori <fujii.hironori>
Component: Tools / TestsAssignee: Fujii Hironori <fujii.hironori>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, ews-watchlist, glenn, jbedard, pvollan, ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Fujii Hironori
Reported 2021-10-20 21:06:23 PDT
[Win] TestWTF.FileSystemTest.* is timing out if it is run by normal user python3.exe .\Tools\Scripts\run-api-tests --no-build --debug TestWTF.FileSystemTest.* run-api-tests script clears TEMP and TMP env vars. generateTemporaryPath in Source/WTF/wtf/win/FileSystemWin.cpp never finish because normal user can't create a file in Windows system directory.
Attachments
Patch (1.75 KB, patch)
2021-10-20 21:24 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2021-10-20 21:08:17 PDT
It has no timeout if I invoke TestWTF.exe directly. WebKitBuild\Debug\bin64\TestWTF.exe --gtest_filter=FileSystemTest.*
Fujii Hironori
Comment 2 2021-10-20 21:24:57 PDT
Fujii Hironori
Comment 3 2021-10-21 13:21:16 PDT
Comment on attachment 441983 [details] Patch Clearing flags on attachment: 441983 Committed r284638 (243358@main): <https://commits.webkit.org/243358@main>
Fujii Hironori
Comment 4 2021-10-21 13:21:20 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2021-10-21 13:22:17 PDT
Note You need to log in before you can comment on or make changes to this bug.