File tree Expand file tree Collapse file tree
php/BuildPhp/config/run-tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 446446 foreach ($message["PHP_FAILED_TESTS"] as $category => $tests) {
447447 $PHP_FAILED_TESTS[$category] = array_merge($PHP_FAILED_TESTS[$category], $tests);
448448 }
449- @@ -1630,4 +1940,12 @@
450-
449+ @@ -1631,3 +1941,11 @@
451450 kill_children($workerProcs);
452-
451+ -
452+ +
453453+ if ($workerCrashRetryTests) {
454454+ echo "Retrying " . count($workerCrashRetryTests) . " tests interrupted by worker crashes serially...\n";
455455+ $savedWorkers = $workers;
471471 break;
472472 default:
473473 send_message($workerSock, [
474- @@ -2942,6 +3269,7 @@
474+ @@ -2942,5 +3269,6 @@
475475 function error(string $message): void
476476 {
477477 echo "ERROR: {$message}\n";
478478+ buildphp_worker_recovery_save_junit_on_error($message);
479479 exit(1);
480480 }
481-
482481@@ -3353,5 +3681,7 @@
483482 if (!empty($suite_name)) {
484483 foreach ($suite['files'] as $file) {
You can’t perform that action at this time.
0 commit comments