Skip to content

Commit 333978e

Browse files
committed
Improve test reliability
1 parent 55ca27d commit 333978e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontVerifyProductAfterPartialReindexOnSeveralWebsitesTest.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@
8282
</actionGroup>
8383

8484
<!-- Run cron -->
85-
<magentoCLI command="cron:run" stepKey="runCron"/>
85+
<!-- We need the 'indexer_update_all_views' job to run. This is the best
86+
way we can make that happen, but there is no guarantee that there is
87+
such a job already scheduled in the queue. -->
88+
<magentoCLI command="cron:run --group=index --bootstrap=standaloneProcessStarted=1" stepKey="runCron"/>
8689

8790
<!-- Check product is present in category after cron run -->
8891
<actionGroup ref="AssertProductInStorefrontCategoryPage" stepKey="assertProductInStorefront1">

0 commit comments

Comments
 (0)