Skip to content

Commit f340c06

Browse files
author
Tang, Yu(ytang1)
committed
Merge pull request #167 from magento-fearless-kiwis/FearlessKiwis-MAGETWO-35278-Random-Integration-Test-Failure
[FearlessKiwis] MAGETWO-35278 Random integration test failure
2 parents 9050a27 + 04d76cb commit f340c06

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ public static function tearDownAfterClass()
6161
self::$_generatorWorkingDir . '/fixtures/tax_rates.csv.bak',
6262
self::$_generatorWorkingDir . '/fixtures/tax_rates.csv'
6363
);
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+
);
6472
}
6573

6674
/**

0 commit comments

Comments
 (0)