Fixed
Project:
Drupal core
Version:
11.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Jul 2026 at 07:29 UTC
Updated:
6 Aug 2026 at 14:24 UTC
Jump to comment: Most recent
Umami performance tests all have the same setup, so we can save some CI time if we merge them into a single test class, and use the existing one-public-method-calling-protected-methods approach so it only sets up once.
There are four tests at 30-40s each, so potentiall 90s of CI time to save.
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
catchTwo small changes relative to the current tests:
1. Included #3612170: Random test failure in OpenTelementryAuthenticatedPerformanceTest.
2. Remove the uninstall of toolbar and install of navigation, because navigation is enabled in Umami anyway since February.
Otherwise this is just copypasta from the different test classes.
Comment #4
smustgrave commentedSeems straight forward.
What’s the timeline for umami getting removed btw? Not relevant to the issue but curious since I saw the name
Comment #5
catchWe've marked it hidden to then probably move it to a testing profile. As well as performance tests it's useful for multilingual tests and possibly to replace the update database dumps.
#3526560: Mark Umami as hidden in preparation of moving to contrib and/or a testing profile.
Comment #6
catchIn https://git.drupalcode.org/project/drupal/-/jobs/11056861 the new consolidated test takes 137s and finishes well before the end of the job. Quite a bit more than the 40s for the individual test classes I saw on a previous run, but some of that may be differences between runners. There's a solid 10-20s of sleep() time though let alone the extra actual http requests so it's bound to take more than an individual test.
Comment #7
catchRebased.
Comment #8
godotislateOne q on the MR.
Comment #9
catchAnswered the question on the MR. Technically out of scope but since it's dead code easier to remove here.
Comment #11
godotislateCommitted 294a128 and pushed to main. Thanks!
Does not apply to 11.x, so if we want to backport, there'll need to be a separate MR.
Comment #12
catchWasn't sure about backporting or not because we get conflicts on these tests for every backport, but after dealing with conflicts in deleted files vs the new files on a couple of issues, it seems easier to deal with them in one file.
Moving straight to RTBC because this was just mechanically updating the numbers for the differences between the branches, otherwise the whole file is taken from main as-is.
Comment #15
godotislateVerified the 11.x MR diff is essentially the same as the main commit diff.
Pushed to 11.x, thanks!