Skip to content

Commit 7d9d349

Browse files
committed
MC-17929: 2.3.2 - Product Flat Data index taking long time to reindex?
1 parent 237789f commit 7d9d349

File tree

1 file changed

+2
-6
lines changed
  • dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action

1 file changed

+2
-6
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/Indexer/Product/Flat/Action/FullTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,11 @@ public function testReindexAll()
7878
* @magentoDbIsolation disabled
7979
* @magentoAppIsolation enabled
8080
* @magentoDataFixture Magento/Catalog/_files/product_simple_multistore.php
81-
* @magentoDataFixture Magento/Catalog/_files/enable_catalog_product_flat_indexer.php
81+
* @magentoConfigFixture current_store catalog/frontend/flat_catalog_product 1
82+
* @magentoConfigFixture fixturestore_store catalog/frontend/flat_catalog_product 1
8283
*/
8384
public function testReindexAllMultipleStores()
8485
{
85-
$this->_state = $this->objectManager->create(State::class);
86-
$this->_processor = $this->objectManager->create(Processor::class);
87-
8886
$this->assertTrue($this->_state->isFlatEnabled());
8987
$this->_processor->reindexAll();
9088

@@ -119,7 +117,5 @@ public function testReindexAllMultipleStores()
119117
}
120118

121119
$storeManager->setCurrentStore($currentStore);
122-
$this->objectManager->removeSharedInstance(State::class);
123-
$this->objectManager->removeSharedInstance(Processor::class);
124120
}
125121
}

0 commit comments

Comments
 (0)