mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-32651 increase memory limit to 2G when running phpunit tests
This should help when running tests with coverage reports.
This commit is contained in:
parent
aa753ac24f
commit
32962961a8
@ -196,7 +196,7 @@ require_once("$CFG->dirroot/lib/phpunit/lib.php");
|
||||
define('ABORT_AFTER_CONFIG_CANCEL', true);
|
||||
require("$CFG->dirroot/lib/setup.php");
|
||||
|
||||
raise_memory_limit(MEMORY_EXTRA);
|
||||
raise_memory_limit(MEMORY_HUGE);
|
||||
|
||||
if (PHPUNIT_UTIL) {
|
||||
// we are not going to do testing, this is 'true' in utility scripts that only init database
|
||||
|
Loading…
x
Reference in New Issue
Block a user