Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\config\Tests\ConfigImportAllTest
and
\Drupal\system\Tests\Module\InstallUninstallTest
are one of the two slowest tests in Drupal, if not the slowest.
Let's try to figure out whether we can speed them up a bit.
Proposed resolution
Remaining tasks
User interface changes
API changes
Comment | File | Size | Author |
---|---|---|---|
#1 | 2468079-1.patch | 602 bytes | dawehner |
Comments
Comment #1
dawehnerLet's try this.
Comment #2
BerdirMakes sense to me and tests still pass. Those tests really deserve some speedup and for example ConfigImportAllTest calls this method in a loop for every enabled module, that's pretty crazy.
Comment #3
alexpottTest-only change that seems sane. Committed e55bba7 and pushed to 8.0.x. Thanks!