mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
test(libkernel): wait up to 30 s for the file lock test's child process
Co-Authored-By: Claude <[email protected]>
This commit is contained in:
1 parent
bbb45463c7
commit
83e7dcfce2
1 file changed
+1
-1
@@ -267,7 +267,7 @@ static int ChildTry(const std::string& path, int mode) {
|
||||
PROCESS_INFORMATION process{};
|
||||
Require(::CreateProcessW(nullptr, command.data(), nullptr, nullptr, FALSE, CREATE_NO_WINDOW, nullptr, nullptr, &startup, &process) != 0);
|
||||
::CloseHandle(process.hThread);
|
||||
if (::WaitForSingleObject(process.hProcess, 3000) != WAIT_OBJECT_0) {
|
||||
if (::WaitForSingleObject(process.hProcess, 30000) != WAIT_OBJECT_0) {
|
||||
::TerminateProcess(process.hProcess, 99);
|
||||
std::abort();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user