Speed up UpdateSemverTestSecurityCoverageTest

Created on 22 August 2024, 3 months ago
Updated 10 September 2024, 2 months ago

Problem/Motivation

We can switch from a provider to a foreach in the trait, this reduces the time taken by about 90%.

Steps to reproduce

Before:
From my local install:

Time: 00:58.153, Memory: 4.00 MB

OK (19 tests, 184 assertions)

Daily test run:
https://git.drupalcode.org/project/drupal/-/jobs/2502554

Drupal\Tests\update\Functional\UpdateSemverCoreSecurityCover  19 passes  161s  

After:

Time: 00:13.074, Memory: 6.00 MB

OK (1 test, 94 assertions)

Pipeline run:
https://git.drupalcode.org/project/drupal/-/jobs/2513463

Drupal\Tests\update\Functional\UpdateSemverCoreSecurityCover   1 passes   15s 

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.3 ✨

Component
UpdateΒ  β†’

Last updated about 4 hours ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
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