Skip to content

Commit 01af315

Browse files
committed
MC-17929: 2.3.2 - Product Flat Data index taking long time to reindex?
1 parent d73f49e commit 01af315

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public function testReindexAllMultipleStores()
9393
/** @var StoreManagerInterface $storeManager */
9494
$storeManager = $this->objectManager->get(StoreManagerInterface::class);
9595
$store = $storeManager->getStore('fixturestore');
96+
$currentStore = $storeManager->getStore();
9697

9798
$expectedData = [
9899
$storeManager->getDefaultStoreView()->getId() => 'Simple Product One',
@@ -117,6 +118,7 @@ public function testReindexAllMultipleStores()
117118
);
118119
}
119120

121+
$storeManager->setCurrentStore($currentStore);
120122
$this->objectManager->removeSharedInstance(State::class);
121123
$this->objectManager->removeSharedInstance(Processor::class);
122124
}

0 commit comments

Comments
 (0)