Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Feb 2015 at 11:44 UTC
Updated:
26 Feb 2015 at 12:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
alexpottLet's see what breaks at 128mb
Comment #3
alexpottSo only two tests fail at 128M!!!!
Drupal\migrate_drupal\Tests\d6\MigrateDrupal6Test- not that surprising given that it is a meta test.Drupal\Tests\Core\Entity\EntityManagerTest- a PHPUnit test!Increasing to 192M to see if that is enough.
Comment #4
alexpottI think EntityManagerTest is only failing in #1 due to the way we run PHPUnit tests in run-tests.sh.
The attached patch speeds up running the PHPUnit tests by 30 seconds with a concurrency of 8. Atm a PHPUnit test is a blocking :)
Comment #5
alexpottIn
MTimeProtectedFileStorageBasewe can't use vfsStream because tempnam() is not supported https://github.com/mikey179/vfsStream/wiki/Known-Issues. Imo this is a bit of a dodgy unit test because it is changing stuff in the temporary file system.Comment #8
alexpottProper 192M patch.
Comment #10
alexpottAh... a proper 192M patch.
Comment #11
alexpottWe need to fix the phpunit tests to run in a forked process because running them in the test runner process takes memory.
Comment #13
yesct commentedwe have a bunch of reduce memory related issues, but most (seem to be) around install. like #2289201: [Meta] Make drupal install and run within reasonable php memory limits so we can reset the memory requirements to lower levels
Comment #14
berdirNice, I guess this means that phpunit tests run concurrent now, like other tests? Probably doesn't make much of a difference now, but if make KernelTestBaseV2 happen, it will..
Comment #24
alexpottPatch to review/commit.
Comment #25
alexpottComment #26
berdirAre you sure that //test is correct?
Comment #27
alexpottDoh!
Comment #28
berdirThanks, I think this is good to go then.
Comment #29
catchCommitted/pushed to 8.0.x, thanks!