Closed (fixed)
Project:
Drupal core
Version:
9.1.x-dev
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2020 at 13:47 UTC
Updated:
22 Aug 2020 at 22:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dwwUpdating the proposed resolution in the summary:
Use
@runTestsInSeparateProcesseson the class instead of@runInSeparateProcesson each individual test method.Seems to be working as intended:
Before
After
The ~4-5 second increase is consistent, even after a few runs, and has got to be from running all the other tests in separate processes, too.
;)
Comment #3
longwaveRationale makes sense, patch looks good.
Comment #4
dwwCool, thanks for the RTBC, @longwave!
Slightly better title for the commit message.
Crediting @jungle for opening this and initial research, and @longwave for the review.
Cheers,
-Derek
Comment #5
alexpottCommitted edd88ad and pushed to 9.1.x. Thanks!