diff --git a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php index 702fdb2..bd1c030 100644 --- a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php +++ b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php @@ -135,6 +135,10 @@ function __construct($test_id = NULL) { parent::__construct($test_id); $this->zlibInstalled = function_exists('gzopen'); + // Disable opcache for the testrunner for update path tests. Update path + // tests use massive php files to load the database and putting these in + // opcache can cuase problems. + ini_set('opcache.enable', '0'); } /**