1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00

Increase pkg-config timeout

This commit is contained in:
James Titcumb
2025-11-03 15:59:42 +00:00
parent 97e58b0f91
commit 89973f7de3
2 changed files with 2 additions and 2 deletions

View File

@@ -124,7 +124,7 @@ class PhpBinaryPathBasedPlatformRepository extends PlatformRepository
private function detectLibraryWithPkgConfig(string $alias, string $library): void
{
try {
$pkgConfigResult = Process::run(['pkg-config', '--print-provides', '--print-errors', $library], timeout: 10);
$pkgConfigResult = Process::run(['pkg-config', '--print-provides', '--print-errors', $library], timeout: 30);
} catch (ProcessFailedException) {
return;
}

View File

@@ -188,7 +188,7 @@ final class PhpBinaryPathBasedPlatformRepositoryTest extends TestCase
],
static function (array $pkg): bool {
try {
Process::run(['pkg-config', '--print-provides', '--print-errors', $pkg[1]], timeout: 10);
Process::run(['pkg-config', '--print-provides', '--print-errors', $pkg[1]], timeout: 30);
return true;
} catch (ProcessFailedException) {