Skip to content

Commit 08b20b5

Browse files
authored
Merge pull request #1748 from magento-performance/MAGETWO-83328
[Performance] MAGETWO-83328: Run Nightly PAT on 2.2
2 parents 9fc1138 + 20540c2 commit 08b20b5

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)