Bug 232065 - [Win] TestWTF.FileSystemTest.* is timing out if it is run by normal user
Summary: [Win] TestWTF.FileSystemTest.* is timing out if it is run by normal user
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-20 21:06 PDT by Fujii Hironori
Modified: 2021-10-21 13:22 PDT (History)
7 users (show)

See Also:


Attachments
Patch (1.75 KB, patch)
2021-10-20 21:24 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 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.
Comment 1 Fujii Hironori 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.*
Comment 2 Fujii Hironori 2021-10-20 21:24:57 PDT
Created attachment 441983 [details]
Patch
Comment 3 Fujii Hironori 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>
Comment 4 Fujii Hironori 2021-10-21 13:21:20 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2021-10-21 13:22:17 PDT
<rdar://problem/84520879>