Commit 528e3071 authored by alexpott's avatar alexpott

Issue #2828559 by tacituseu, alexpott, mpdonadio, amateescu, hchonov, catch,...

Issue #2828559 by tacituseu, alexpott, mpdonadio, amateescu, hchonov, catch, xjm, Wim Leers, Mixologic: UpdatePathTestBase tests randomly failing
parent 04a771a7
......@@ -13,6 +13,15 @@
$autoloader = require_once 'autoload.php';
// Disable garbage collection during test runs. Under certain circumstances the
// update path will create so many objects that garbage collection causes
// segmentation faults.
require_once 'core/includes/bootstrap.inc';
if (drupal_valid_test_ua()) {
gc_collect_cycles();
gc_disable();
}
$kernel = new UpdateKernel('prod', $autoloader, FALSE);
$request = Request::createFromGlobals();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment