Distribute @group #slow tests between test runners and mark more tests

Created on 19 September 2023, about 1 year ago
Updated 25 September 2023, about 1 year ago

Problem/Motivation

In #3038901: Speed up the tests on DrupalCI by not running slow tests last we formalized adding @group #slow to tests which take a long time to run. This way we can prioritize them to run early.

This MR adds @group #slow to several more tests, based on a 30 second time limit via 📌 Add an automated way for slow tests to fail drupalci builds Needs work .

It also adapts run-tests.sh to distribute the slow tests between test runners when gitlab parallelism is used - this means if there's 6 test runners and 72 slow tests, each runner gets 12 slow tests each and they'll all be started first.

This doesn't attempt to balance test run speed in general, just that we don't want a 30s+ test to run at the end of a job run because it could artificially add 30 seconds to the entire run.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.1

Component
PHPUnit 

Last updated about 12 hours ago

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024