Add a test for 'with-items' task: count=100, concurrency=10

Change-Id: I83429edbd59aa00c52ac2e247e7de2c79cb90887
This commit is contained in:
Renat Akhmerov 2016-12-21 18:38:06 +07:00
parent 32a6e3c8da
commit 4aa186cfdd
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,4 @@
{
"count": 100,
"concurrency": 10
}

View File

@ -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 %>

View File

@ -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