Add a test for 'with-items' task: count=100, concurrency=10
Change-Id: I83429edbd59aa00c52ac2e247e7de2c79cb90887
This commit is contained in:
parent
32a6e3c8da
commit
4aa186cfdd
|
@ -0,0 +1,4 @@
|
||||||
|
{
|
||||||
|
"count": 100,
|
||||||
|
"concurrency": 10
|
||||||
|
}
|
|
@ -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 %>
|
|
@ -108,6 +108,24 @@
|
||||||
users:
|
users:
|
||||||
tenants: 1
|
tenants: 1
|
||||||
users_per_tenant: 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:
|
sla:
|
||||||
failure_rate:
|
failure_rate:
|
||||||
max: 0
|
max: 0
|
Loading…
Reference in New Issue