Problem/Motivation
Process isolation in PHPUnit 12 must be specified on each concrete test class.
Proposed resolution
In this issue, add #[RunTestsInSeparateProcesses] attribute to all Kernel tests.
1587 classes affected.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3548493
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:
- 3548493-add-runtestsinseparateprocesses-attribute
changes, plain diff MR !13444
Comments
Comment #2
mondrakeComment #3
mondrakeComment #5
mondrakeComment #6
dcam commentedGood grief, what a pain! I kind of can't believe such a breaking decision was made upstream by PHPUnit.
I read through the entire nearly 30,000 line patch. It's just the same two changes over and over and over... The only strange things about it were the three instances of alphabetized unrelated
usestatements.I was going to say "Let's get this in before it gets stale," but it already is and needs a rebase.
Comment #7
mondrake@dcam thanks for the review effort... really remarkable.
The reason why you see seemingly unrelated rearranging of
useimports is due to the fact that the refactoring is done by rector, whereas the resorting is done by phpcbf on any file changed, independently from what the change was.Will rebase now - tagged 'Avoid commit conflicts' exactly for the reason in #6.
Comment #8
mondrakerebased
Comment #9
dcam commentedLooks good. Let's do it.
Comment #11
catchCommitted/pushed to 11.x, thanks!