When I PHPUnit tested oik v4.8.1 it worked fine.
Re-running the tests today I got.
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 83395048 bytes)
The memory limit set in wp-config.php was 512M. I upped it to 1024M but still got the problem.
The trace output indicate that the memory limit had been reduced from 1024M to 256M
But I dont know where this was done.
Workaround
Turn off CLI tracing before running the PHPUnit tests.
When I PHPUnit tested oik v4.8.1 it worked fine. Re-running the tests today I got.
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 83395048 bytes)
The memory limit set in wp-config.php was 512M. I upped it to 1024M but still got the problem. The trace output indicate that the memory limit had been reduced from 1024M to 256M But I dont know where this was done.
Workaround
Turn off CLI tracing before running the PHPUnit tests.