Split up UpdaterFormTest to speed up test runs: from 13.5 to 10.5 minutes

Created on 25 November 2022, over 1 year ago
Updated 20 January 2023, over 1 year ago

Problem/Motivation

\Drupal\Tests\automatic_updates\Functional\UpdaterFormTest is >1,000 lines of code and has over a dozen test methods. It's the slowest test by far.

Because the way the concurrency works on drupalci, it will run multiple test classes concurrently but will not run multiple test methods within a single class concurrently, having 1 class with many test method methods is slower than the same exact test methods split over multiple test classes.

Proposed resolution

Split up \Drupal\Tests\automatic_updates\Functional\UpdaterFormTest into multiple test classes based on which tests are A) slower, B) semantically belong together.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium Wim Leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Assigned to yash.rode
  • Status changed to Needs work over 1 year ago
  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Assigned to yash.rode
  • Status changed to Needs work over 1 year ago
  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Assigned to yash.rode
  • Status changed to Needs work over 1 year ago
  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Assigned to yash.rode
  • Status changed to Needs work over 1 year ago
  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Assigned to yash.rode
  • Status changed to Needs work over 1 year ago
  • Assigned to Wim Leers
  • Status changed to Needs review over 1 year ago
  • Issue was unassigned.
  • Status changed to RTBC over 1 year ago
  • Assigned to tedbow
  • Status changed to Fixed over 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024