Skip to content
Snippets Groups Projects
Commit 528e3071 authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,15 @@ ...@@ -13,6 +13,15 @@
$autoloader = require_once 'autoload.php'; $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); $kernel = new UpdateKernel('prod', $autoloader, FALSE);
$request = Request::createFromGlobals(); $request = Request::createFromGlobals();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment