Skip to content

Commit 23c8c29

Browse files
committed
AC-6720::Cloud Native S3 Web API test Failures -2.4-develop - Removed Shared Instance for DeploymentConfig
1 parent eb385c3 commit 23c8c29

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQlAbstract.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ 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(20);
267266
$directoryWrite->writeFile($this->envConfigPath, $resetFileContents);
268267
}
269268

dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/CacheIdFactorProviders/Store/CurrencyProviderTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
*/
1515
class CurrencyProviderTest extends GraphQlAbstract
1616
{
17+
protected function setUp() :void
18+
{
19+
\Magento\TestFramework\Helper\Bootstrap::getObjectManager()
20+
->removeSharedInstance(\Magento\Framework\App\DeploymentConfig::class);
21+
}
1722
/**
1823
* Tests that the cache id header changes based on the currency and remains consistent for the same currency.
1924
*

0 commit comments

Comments
 (0)