Skip to content

Commit b5fe00c

Browse files
author
Stanislav Idolov
committed
Merge remote-tracking branch 'mainline/2.2-develop' into MAGETWO-84311-magento-magento2-12133
2 parents 2b261a5 + 08b20b5 commit b5fe00c

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
@@ -8006,14 +8006,15 @@ try {
80068006

80078007
//Number of products for one thread
80088008
productClusterLength = productCount / threadsNumber;
8009-
//Index of the current product from the cluster
8010-
i = productClusterLength * currentThreadNum + iterator;
80118009

80128010
if (iterator >= productClusterLength) {
80138011
vars.put("threadIterator_" + currentThreadNum.toString(), "0");
80148012
iterator = 0;
80158013
}
80168014

8015+
//Index of the current product from the cluster
8016+
i = productClusterLength * currentThreadNum + iterator;
8017+
80178018
//ids of simple and configurable products to edit
80188019
vars.put("simple_product_id", props.get("simple_products_list").get(i).get("id"));
80198020
vars.put("configurable_product_id", props.get("configurable_products_list").get(i).get("id"));

0 commit comments

Comments
 (0)