Skip to content

Commit 9b22b8c

Browse files
committed
MAGETWO-65362: [Backport] - [Performance] Is there a recommended way to set indexes when importing 1000's of products via .csv - for 2.1.6
1 parent b0ac3ef commit 9b22b8c

File tree

1 file changed

+4
-4
lines changed
  • dev/tests/integration/testsuite/Magento/ImportExport/Model

1 file changed

+4
-4
lines changed

dev/tests/integration/testsuite/Magento/ImportExport/Model/ImportTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,13 +264,13 @@ public function testInvalidateIndex($expectedStatus, $schedule)
264264
public function invalidateIndexDataProvider()
265265
{
266266
return [
267-
'Update on save' => [
268-
'$expectedStatus' => \Magento\Framework\Indexer\StateInterface::STATUS_INVALID,
269-
'$schedule' => false,
270-
],
271267
'Update by schedule' => [
272268
'$expectedStatus' => \Magento\Framework\Indexer\StateInterface::STATUS_VALID,
273269
'$schedule' => true,
270+
],
271+
'Update on save' => [
272+
'$expectedStatus' => \Magento\Framework\Indexer\StateInterface::STATUS_INVALID,
273+
'$schedule' => false,
274274
]
275275
];
276276
}

0 commit comments

Comments
 (0)