Reduce CPU requirement and concurrency for unit tests

Created on 11 August 2024, 4 months ago
Updated 27 August 2024, 3 months ago

Problem/Motivation

Unit test jobs finish in about 45 seconds, whereas even if we massively improve performance of other test jobs, we're unlikely to get them under 2m30 each.

I think we can reduce both the concurrency and the CPU requests so they run in approximately double or triple the time, this allow more pods to co-exist on the same machine.

Steps to reproduce

Look at a phpunit run from this MR, and see that the 'test run duration' is still around 40 seconds.

https://git.drupalcode.org/project/drupal/-/jobs/2412264/viewer

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.3

Component
PHPUnit 

Last updated 23 minutes ago

Created by

🇬🇧United Kingdom catch

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