Skip to content

Commit 8b159d0

Browse files
#22856: Integration test fix.
1 parent 20ae9e3 commit 8b159d0

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Save/CreateCustomOptionsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ protected function setUp()
5151
* @dataProvider productWithNewOptionsDataProvider
5252
*
5353
* @param array $productPostData
54+
*
55+
* @magentoDbIsolation enabled
5456
*/
5557
public function testSaveCustomOptionWithTypeField(array $productPostData): void
5658
{

dev/tests/integration/testsuite/Magento/Catalog/Model/Product/CreateCustomOptionsTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ public function testSaveOptionPriceByStore(): void
120120
* @dataProvider productCustomOptionsTypeTextDataProvider
121121
*
122122
* @param array $optionData
123+
*
124+
* @magentoDbIsolation enabled
123125
*/
124126
public function testCreateOptionsWithTypeText(array $optionData): void
125127
{
@@ -140,6 +142,8 @@ public function testCreateOptionsWithTypeText(array $optionData): void
140142
*
141143
* @param string $rawExtensions
142144
* @param string $expectedExtensions
145+
*
146+
* @magentoDbIsolation enabled
143147
*/
144148
public function testFileExtensions(string $rawExtensions, string $expectedExtensions): void
145149
{
@@ -174,6 +178,8 @@ public function testFileExtensions(string $rawExtensions, string $expectedExtens
174178
*
175179
* @param array $optionData
176180
* @param array $optionValueData
181+
*
182+
* @magentoDbIsolation enabled
177183
*/
178184
public function testCreateOptionsWithTypeSelect(array $optionData, array $optionValueData): void
179185
{
@@ -199,6 +205,8 @@ public function testCreateOptionsWithTypeSelect(array $optionData, array $option
199205
* @dataProvider productCustomOptionsTypeDateDataProvider
200206
*
201207
* @param array $optionData
208+
*
209+
* @magentoDbIsolation enabled
202210
*/
203211
public function testCreateOptionsWithTypeDate(array $optionData): void
204212
{
@@ -217,6 +225,8 @@ public function testCreateOptionsWithTypeDate(array $optionData): void
217225
*
218226
* @param array $optionData
219227
* @param \Exception $expectedErrorObject
228+
*
229+
* @magentoDbIsolation enabled
220230
*/
221231
public function testCreateOptionWithError(array $optionData, \Exception $expectedErrorObject): void
222232
{

dev/tests/integration/testsuite/Magento/Catalog/Model/ResourceModel/Attribute/Entity/AttributeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* @magentoDataFixture Magento/Catalog/_files/dropdown_attribute.php
2424
* @magentoDataFixture Magento/Catalog/_files/multiselect_attribute.php
2525
* @magentoDataFixture Magento/Catalog/_files/product_without_options.php
26+
* @magentoDbIsolation enabled
2627
*/
2728
class AttributeTest extends \PHPUnit\Framework\TestCase
2829
{

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,6 +2333,7 @@ public function testImportWithFilesystemImages()
23332333
* @magentoDataFixture Magento/Catalog/_files/attribute_set_with_renamed_group.php
23342334
* @magentoDataFixture Magento/Catalog/_files/product_without_options.php
23352335
* @magentoDataFixture Magento/Catalog/_files/second_product_simple.php
2336+
* @magentoDbIsolation enabled
23362337
*/
23372338
public function testImportDataChangeAttributeSet()
23382339
{

dev/tests/integration/testsuite/Magento/CatalogRule/_files/catalog_rule_10_off_not_logged_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@
2626
/** @var \Magento\CatalogRule\Model\Indexer\IndexBuilder $indexBuilder */
2727
$indexBuilder = $objectManager->get(\Magento\CatalogRule\Model\Indexer\IndexBuilder::class);
2828
$indexBuilder->reindexFull();
29+
sleep(1);

0 commit comments

Comments
 (0)