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()
254
254
$ initialConfig = $ this ->envConfigReader ->load (ConfigFilePool::APP_ENV );
255
255
256
256
try {
257
- $ testResult = parent ::runTest ();
257
+ return parent ::runTest ();
258
258
} finally {
259
259
$ this ->formatter = $ this ->formatter ?: new PhpFormatter ();
260
260
$ this ->filesystem = $ this ->filesystem ?: Bootstrap::getObjectManager ()->get (Filesystem::class);
@@ -263,10 +263,9 @@ protected function runTest()
263
263
$ resetConfig = $ this ->resetAddedSection ($ initialConfig , $ currentConfig , $ cacheSaltPathChunks );
264
264
$ resetFileContents = $ this ->formatter ->format ($ resetConfig );
265
265
$ directoryWrite = $ this ->filesystem ->getDirectoryWrite (DirectoryList::CONFIG );
266
+ sleep (4 );
266
267
$ directoryWrite ->writeFile ($ this ->envConfigPath , $ resetFileContents );
267
268
}
268
-
269
- return $ testResult ;
270
269
}
271
270
272
271
/**
Original file line number Diff line number Diff line change @@ -54,19 +54,6 @@ public function install($cleanup)
54
54
$ this ->runPostInstallCommands ();
55
55
}
56
56
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
-
70
57
/**
71
58
* @inheritdoc
72
59
*
You can’t perform that action at this time.
0 commit comments