Skip to content

Commit d7b928a

Browse files
authored
Merge pull request #4511 from magento-performance/MC-18321-pr
[Troll] Price indexation and benchmark.jmx fixes
2 parents 63f34c6 + b8d034b commit d7b928a

File tree

2 files changed

+1
-69
lines changed
  • app/code/Magento/Catalog/Model/Indexer/Product/Price/Action
  • setup/performance-toolkit

2 files changed

+1
-69
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Price/Action/Full.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ private function getBatchesForIndexer(string $typeId): BatchIterator
279279
$select = $connection->select();
280280
$select->distinct(true);
281281
$select->from(['e' => $entityMetadata->getEntityTable()], $entityMetadata->getIdentifierField());
282+
$select->where('type_id = ?', $typeId);
282283

283284
return $this->batchQueryGenerator->generate(
284285
$this->getProductMetaData()->getIdentifierField(),

setup/performance-toolkit/benchmark.jmx

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2478,75 +2478,6 @@ if (props.get("cms_pages") == null) {
24782478
<stringProp name="HTTPSampler.embedded_url_re"/>
24792479
<stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/warmup_add_to_cart.jmx</stringProp></HTTPSamplerProxy>
24802480
<hashTree/>
2481-
2482-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="SetUp - Ajax Load Login Form" enabled="true">
2483-
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
2484-
<collectionProp name="Arguments.arguments">
2485-
<elementProp name="blocks" elementType="HTTPArgument">
2486-
<boolProp name="HTTPArgument.always_encode">true</boolProp>
2487-
<stringProp name="Argument.value">["customer_form_login"]</stringProp>
2488-
<stringProp name="Argument.metadata">=</stringProp>
2489-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
2490-
<stringProp name="Argument.name">blocks</stringProp>
2491-
</elementProp>
2492-
<elementProp name="handles" elementType="HTTPArgument">
2493-
<boolProp name="HTTPArgument.always_encode">true</boolProp>
2494-
<stringProp name="Argument.value">["default","customer_account_login"]</stringProp>
2495-
<stringProp name="Argument.metadata">=</stringProp>
2496-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
2497-
<stringProp name="Argument.name">handles</stringProp>
2498-
</elementProp>
2499-
<elementProp name="originalRequest" elementType="HTTPArgument">
2500-
<boolProp name="HTTPArgument.always_encode">true</boolProp>
2501-
<stringProp name="Argument.value">{"route":"customer","controller":"account","action":"login","uri":"/customer/account/login/"}</stringProp>
2502-
<stringProp name="Argument.metadata">=</stringProp>
2503-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
2504-
<stringProp name="Argument.name">originalRequest</stringProp>
2505-
</elementProp>
2506-
<elementProp name="ajax" elementType="HTTPArgument">
2507-
<boolProp name="HTTPArgument.always_encode">true</boolProp>
2508-
<stringProp name="Argument.value">true</stringProp>
2509-
<stringProp name="Argument.metadata">=</stringProp>
2510-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
2511-
<stringProp name="Argument.name">ajax</stringProp>
2512-
</elementProp>
2513-
<elementProp name="isAjax" elementType="HTTPArgument">
2514-
<boolProp name="HTTPArgument.always_encode">true</boolProp>
2515-
<stringProp name="Argument.value">true</stringProp>
2516-
<stringProp name="Argument.metadata">=</stringProp>
2517-
<boolProp name="HTTPArgument.use_equals">true</boolProp>
2518-
<stringProp name="Argument.name">isAjax</stringProp>
2519-
</elementProp>
2520-
</collectionProp>
2521-
</elementProp>
2522-
<stringProp name="HTTPSampler.domain"/>
2523-
<stringProp name="HTTPSampler.port"/>
2524-
<stringProp name="HTTPSampler.connect_timeout">60000</stringProp>
2525-
<stringProp name="HTTPSampler.response_timeout">200000</stringProp>
2526-
<stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
2527-
<stringProp name="HTTPSampler.contentEncoding"/>
2528-
<stringProp name="HTTPSampler.path">${base_path}page_cache/block/render/</stringProp>
2529-
<stringProp name="HTTPSampler.method">GET</stringProp>
2530-
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2531-
<boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2532-
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2533-
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2534-
<boolProp name="HTTPSampler.monitor">false</boolProp>
2535-
<stringProp name="HTTPSampler.embedded_url_re"/>
2536-
<stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/setup/ajax_load_login_form.jmx</stringProp></HTTPSamplerProxy>
2537-
<hashTree>
2538-
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
2539-
<collectionProp name="Asserion.test_strings">
2540-
<stringProp name="940598773">"customer_form_login"</stringProp>
2541-
<stringProp name="1951684663">Registered Customers</stringProp>
2542-
<stringProp name="474011748">form_key</stringProp>
2543-
</collectionProp>
2544-
<stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2545-
<boolProp name="Assertion.assume_success">false</boolProp>
2546-
<intProp name="Assertion.test_type">2</intProp>
2547-
</ResponseAssertion>
2548-
<hashTree/>
2549-
</hashTree>
25502481
</hashTree>
25512482

25522483
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Frontend Pool" enabled="true">

0 commit comments

Comments
 (0)