Skip to content

Commit eae3309

Browse files
committed
AC-6720::Cloud Native S3 Web API test Failures -2.4-develop - Added sleep time before write
1 parent 23c8c29 commit eae3309

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ 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(1);
266267
$directoryWrite->writeFile($this->envConfigPath, $resetFileContents);
267268
}
268269

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
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-
}
2217
/**
2318
* Tests that the cache id header changes based on the currency and remains consistent for the same currency.
2419
*

0 commit comments

Comments
 (0)