Skip to content

Commit a6e08c6

Browse files
committed
MC-34987: [2.3] MFTF tests causing high load on Jenkins agents in MTSv1 platform
1 parent ed3b986 commit a6e08c6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportSimpleProductAndConfigurableProductsWithAssignedImagesTest.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@
8989
<requiredEntity createDataKey="createConfigProduct"/>
9090
</createData>
9191

92-
<!-- Run cron twice -->
93-
<magentoCLI command="cron:run" stepKey="runCron1"/>
94-
<magentoCLI command="cron:run" stepKey="runCron2"/>
92+
<comment userInput="Reindex invalidated indices after product attribute has been created/deleted" stepKey="runCron1"/>
93+
<actionGroup ref="CliRunReindexUsingCronJobsActionGroup" stepKey="runCron2"/>
9594

9695
<!-- Login as admin -->
9796
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
@@ -125,9 +124,11 @@
125124
<argument name="attributeData" value="$$createConfigProduct.sku$$"/>
126125
</actionGroup>
127126

128-
<!-- Run cron -->
129-
<magentoCLI command="cron:run" stepKey="runCron3"/>
130-
<magentoCLI command="cron:run" stepKey="runCron4"/>
127+
<comment userInput="Start message queue for export consumer" stepKey="runCron3"/>
128+
<actionGroup ref="CliConsumerStartActionGroup" stepKey="runCron4">
129+
<argument name="consumerName" value="{{AdminExportMessageConsumerData.consumerName}}"/>
130+
<argument name="maxMessages" value="{{AdminExportMessageConsumerData.messageLimit}}"/>
131+
</actionGroup>
131132

132133
<!-- Download product -->
133134
<actionGroup ref="downloadFileByRowIndex" stepKey="downloadCreatedProducts">

0 commit comments

Comments
 (0)