File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
dev/tests/api-functional/framework/Magento/TestFramework Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ protected function runTest()
254254 $ initialConfig = $ this ->envConfigReader ->load (ConfigFilePool::APP_ENV );
255255
256256 try {
257- $ testResult = parent ::runTest ();
257+ return parent ::runTest ();
258258 } finally {
259259 $ this ->formatter = $ this ->formatter ?: new PhpFormatter ();
260260 $ this ->filesystem = $ this ->filesystem ?: Bootstrap::getObjectManager ()->get (Filesystem::class);
@@ -263,10 +263,9 @@ protected function runTest()
263263 $ resetConfig = $ this ->resetAddedSection ($ initialConfig , $ currentConfig , $ cacheSaltPathChunks );
264264 $ resetFileContents = $ this ->formatter ->format ($ resetConfig );
265265 $ directoryWrite = $ this ->filesystem ->getDirectoryWrite (DirectoryList::CONFIG );
266+ sleep (4 );
266267 $ directoryWrite ->writeFile ($ this ->envConfigPath , $ resetFileContents );
267268 }
268-
269- return $ testResult ;
270269 }
271270
272271 /**
Original file line number Diff line number Diff line change @@ -54,19 +54,6 @@ public function install($cleanup)
5454 $ this ->runPostInstallCommands ();
5555 }
5656
57- /**
58- * Initialize application
59- *
60- * @param array $overriddenParams
61- * @return void
62- */
63- public function initialize ($ overriddenParams = [])
64- {
65- parent ::initialize ($ overriddenParams );
66- $ objectManager = Helper \Bootstrap::getObjectManager ();
67- $ objectManager ->removeSharedInstance (\Magento \Framework \App \DeploymentConfig::class);
68- }
69-
7057 /**
7158 * @inheritdoc
7259 *
You can’t perform that action at this time.
0 commit comments