aports/testing/php83/fix-test-wait.patch
2023-06-20 00:17:21 +02:00

16 lines
659 B
Diff

Patch-Source: https://github.com/php/php-src/issues/11401
Subject: fails on ppc64le and x86_64 builders as timeout is not enough
diff --git a/sapi/cli/tests/php_cli_server_pdeathsig.phpt b/sapi/cli/tests/php_cli_server_pdeathsig.phpt
index 9bec95d3f2..db4b99af61 100644
--- a/sapi/cli/tests/php_cli_server_pdeathsig.phpt
+++ b/sapi/cli/tests/php_cli_server_pdeathsig.phpt
@@ -38,7 +38,7 @@ function find_workers_by_pids(array $pids) {
proc_terminate($cliServerInfo->processHandle, 9); // SIGKILL
$try = 1;
-$max_tries = 5;
+$max_tries = 20;
while (true) {
$workersAfter = find_workers_by_pids($workersBefore);
if (count($workersAfter) === 0) {