Problem/Motivation

Top three slowest functional tests. It's only got three methods, two of them are over a minute each because the keep uninstalling and installing modules. So the easiest thing is to split one of them out to its own class.

 171.070s Drupal\Tests\system\Functional\Module\NonStableModulesTest                3 passed

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3613162

Command icon 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

catch created an issue. See original summary.

catch’s picture

Status: Active » Needs review

As with all of these differences between gitlab runners make comparison hard, but encouraging anyway:

 38.112s Drupal\Tests\system\Functional\Module\NonStableModulesTest                2 passed

https://git.drupalcode.org/project/drupal/-/jobs/11159050

  35.075s Drupal\Tests\system\Functional\Module\DeprecatedModulesTest               1 passed

https://git.drupalcode.org/project/drupal/-/jobs/11159049

smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Seems like a good split. 3 seconds seems hard to notice but get enough of them it adds up I'm sure.

catch’s picture

Just for the record it's 171s down to 38s + 32s. Although the individual tests should probably add back up to 171s if they were in the same machine. But it means this test won't run past the end of all the other tests that have already finished.