diff --git a/rally-jobs/extra/scenarios/with_items/count_100_concurrency_10.json b/rally-jobs/extra/scenarios/with_items/count_100_concurrency_10.json new file mode 100644 index 000000000..450d668d4 --- /dev/null +++ b/rally-jobs/extra/scenarios/with_items/count_100_concurrency_10.json @@ -0,0 +1,4 @@ +{ + "count": 100, + "concurrency": 10 +} diff --git a/rally-jobs/extra/scenarios/with_items/wb.yaml b/rally-jobs/extra/scenarios/with_items/wb.yaml new file mode 100644 index 000000000..5d5e916ec --- /dev/null +++ b/rally-jobs/extra/scenarios/with_items/wb.yaml @@ -0,0 +1,16 @@ +--- +version: '2.0' + +name: with_items_wb + +workflows: + wf: + input: + - count: 10 + - concurrency: 0 + + tasks: + task1: + with-items: i in <% range(0, $.count) %> + action: std.echo output=<% $.i %> + concurrency: <% $.concurrency %> diff --git a/rally-jobs/task-mistral.yaml b/rally-jobs/task-mistral.yaml index 254f69806..b149dd2fc 100644 --- a/rally-jobs/task-mistral.yaml +++ b/rally-jobs/task-mistral.yaml @@ -108,6 +108,24 @@ users: tenants: 1 users_per_tenant: 1 + sla: + failure_rate: + max: 0 + + - + args: + definition: "/home/jenkins/.rally/extra/scenarios/with_items/wb.yaml" + params: + "/home/jenkins/.rally/extra/scenarios/with_items/count_100_concurrency_10.json" + do_delete: true + runner: + type: "constant" + times: 20 + concurrency: 5 + context: + users: + tenants: 1 + users_per_tenant: 1 sla: failure_rate: max: 0 \ No newline at end of file