Use Symfony Process to spawn subprocesses in PhpUnitTestRunner

Created on 29 January 2024, 12 months ago
Updated 26 February 2024, 11 months ago

Problem/Motivation

As seen in #3417066-13: Drop Symfony PHPUnit-bridge dependency and in 🌱 [meta] Support PHPUnit 10 in Drupal 11 Active , in PHPUnit 10 the PHPUnit Unit pipeline job gets stuck.

This seems to be overcome by using Symfony Process in lieu of exec() to spawn subprocesses executing individual tests.

Replacing that also for PHPUnit sounds like an healthy step - it will also allow to set a process timeout to kill tests taking too long and prevent idle bot runs.

Proposed resolution

Adopt Symfony Process to execute PHPUnit subprocesses.

Merge request link

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

11.0 🔥

Component
PHPUnit 

Last updated about 17 hours ago

Created by

🇮🇹Italy mondrake 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024