Skip to content

Commit 4652683

Browse files
authored
Merge pull request #1756 from magento-performance/MAGETWO-84296
[Performance] MAGETWO-84296: Run Nightly PAT on develop
2 parents 7f58dbe + 0692817 commit 4652683

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup/performance-toolkit/benchmark.jmx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8011,14 +8011,15 @@ try {
80118011

80128012
//Number of products for one thread
80138013
productClusterLength = productCount / threadsNumber;
8014-
//Index of the current product from the cluster
8015-
i = productClusterLength * currentThreadNum + iterator;
80168014

80178015
if (iterator >= productClusterLength) {
80188016
vars.put("threadIterator_" + currentThreadNum.toString(), "0");
80198017
iterator = 0;
80208018
}
80218019

8020+
//Index of the current product from the cluster
8021+
i = productClusterLength * currentThreadNum + iterator;
8022+
80228023
//ids of simple and configurable products to edit
80238024
vars.put("simple_product_id", props.get("simple_products_list").get(i).get("id"));
80248025
vars.put("configurable_product_id", props.get("configurable_products_list").get(i).get("id"));

0 commit comments

Comments
 (0)