Problem/Motivation
We can switch from a provider to a foreach in the trait, this reduces the time taken for two tests significantly.
Steps to reproduce
Before:
From my local install:
Time: 01:19.812, Memory: 4.00 MB
OK (24 tests, 379 assertions)
Daily test run:
https://git.drupalcode.org/project/drupal/-/jobs/2502554
Drupal\Tests\update\Functional\UpdateSemverCoreSecurityAvail 24 passes 83s
Drupal\Tests\update\Functional\UpdateSemverContribSecurityAv 25 passes 96s
After:
Time: 00:12.538, Memory: 6.00 MB
OK (1 test, 241 assertions)
Pipeline run:
Drupal\Tests\update\Functional\UpdateSemverCoreSecurityAvail 1 passes 21s
Drupal\Tests\update\Functional\UpdateSemverContribSecurityAv 2 passes 39s
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3469580
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
catchComment #3
catchComment #5
catchComment #6
smustgrave commentedSeems straight forward, no coverage lost that I can see.
Comment #12
nod_Committed and pushed 0066ab0fce to 11.x and 4630029ba4 to 11.0.x and 57a060ea43 to 10.4.x and bc16a13e3f to 10.3.x. Thanks!