Skip to content

Commit 962941f

Browse files
author
Yu Tang
committed
MAGETWO-35278: Magento\Weee\Model\TaxTest::testGetProductWeeeAttributes randomly fails on mainline
1 parent 8685e73 commit 962941f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

dev/tests/integration/testsuite/Magento/ToolkitFramework/ApplicationTest.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
/**
99
* Class Application test
10-
* @magentoDbIsolation enabled
1110
*/
1211
class ApplicationTest extends \Magento\TestFramework\Indexer\TestCase
1312
{
@@ -62,6 +61,14 @@ public static function tearDownAfterClass()
6261
self::$_generatorWorkingDir . '/fixtures/tax_rates.csv.bak',
6362
self::$_generatorWorkingDir . '/fixtures/tax_rates.csv'
6463
);
64+
/** @var $appCache \Magento\Framework\App\Cache */
65+
$appCache = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->get('Magento\Framework\App\Cache');
66+
$appCache->clean(
67+
[
68+
\Magento\Eav\Model\Cache\Type::CACHE_TAG,
69+
\Magento\Eav\Model\Entity\Attribute::CACHE_TAG,
70+
]
71+
);
6572
}
6673

6774
/**

0 commit comments

Comments
 (0)