Closed (fixed)
Project:
Drupal core
Version:
main
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2026 at 21:09 UTC
Updated:
24 Jul 2026 at 07:30 UTC
Jump to comment: Most recent
Comments
Comment #2
nicxvan commentedThis is cropping up a lot.
Comment #4
godotislate2000x run passes: https://git.drupalcode.org/project/drupal/-/jobs/10834736
Comment #5
nicxvan commentedMakes sense, it's right after a rebuild.
Comment #6
godotislateGiven the fix here, I was asked in Slack about why the test was failing only intermittently. I have not investigated, but I made this change because the same variable is reset after rebuilding container in every other instance in the same test method.
We could try running a repeat test job with the test class unchanged to confirm that the failures do show when running the test on its own, and also looking at browser output from the job artifacts if necessary.
Comment #7
godotislateI ran the 2000x repeat test job on the main commit pipeline: https://git.drupalcode.org/project/drupal/-/jobs/10835212 and it does have intermittent failures.
Comment #8
mstrelan commentedThis feels like it's failing almost every time for me.
I guess the fix is a similar remedy to the infamous "Assigning entity storage to a property instead of the entity manager" anti-pattern described by @mglaman at https://mglaman.dev/blog/dependency-injection-anti-patterns-drupal
Comment #9
godotislateSo there's no actual browser output because the test doesn't actually do any browser-based actions.
Comment #14
catchYeah it's odd that it only randomly fails but very clear that this is the correct fix.
Committed/pushed to main, 11.x, 11.4.x and 10.6.x, thanks!