Skip to content

Commit 3e5d058

Browse files
committed
MC-34482: MFTF tests causing high load on Jenkins agents in MTSv1 platform
1 parent bf198bd commit 3e5d058

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@
9797
<!-- Export created below products -->
9898
<actionGroup ref="ExportAllProductsActionGroup" stepKey="exportCreatedProducts"/>
9999

100-
<magentoCron stepKey="runCron"/>
100+
<!-- Start message queue for export consumer -->
101+
<actionGroup ref="AdminStartMessageQueueConsumerActionGroup" stepKey="startMessageQueue"/>
101102

102103
<grabTextFrom selector="{{AdminExportAttributeSection.exportFileNameByPosition('0')}}" stepKey="grabNameFile"/>
103104

app/code/Magento/MessageQueue/Test/Mftf/ActionGroup/AdminStartMessageQueueConsumerActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<argument name="consumer" defaultValue="AdminExportMessageConsumerData"/>
1717
</arguments>
1818

19-
<magentoCLI command="queue:consumers:start {{consumer.consumer_name}} --max-messages={{consumer.message_limit}} --single-thread" stepKey="startMessageQueue"/>
19+
<magentoCLI command="queue:consumers:start {{consumer.consumer_name}} --max-messages={{consumer.message_limit}}" stepKey="startMessageQueue"/>
2020
<wait time="30" stepKey="waitForQueueStarting"/>
2121
<reloadPage stepKey="refreshPage"/>
2222
<waitForPageLoad stepKey="waitForPageLoaded"/>

0 commit comments

Comments
 (0)