Add more tests to mistral rally
One more executions test. This one will run a workbook that has a nested workflow with a join all. Change-Id: I107eaf3a666a4e07ea9364c4948c74704edc8276
This commit is contained in:
parent
353a89768e
commit
c89c635af1
73
rally-jobs/extra/nested_wb.yaml
Normal file
73
rally-jobs/extra/nested_wb.yaml
Normal file
@ -0,0 +1,73 @@
|
||||
---
|
||||
version: "2.0"
|
||||
|
||||
name: wb
|
||||
|
||||
workflows:
|
||||
|
||||
wrapping_wf:
|
||||
type: direct
|
||||
tasks:
|
||||
call_inner_wf_1:
|
||||
workflow: inner_wf
|
||||
call_inner_wf_2:
|
||||
workflow: inner_wf
|
||||
call_inner_wf_3:
|
||||
workflow: inner_wf
|
||||
call_inner_wf_4:
|
||||
workflow: inner_wf
|
||||
|
||||
inner_wf:
|
||||
type: direct
|
||||
tasks:
|
||||
hello1:
|
||||
action: std.echo output="Hello"
|
||||
publish:
|
||||
result: $
|
||||
hello2:
|
||||
action: std.echo output="Hello"
|
||||
publish:
|
||||
result: $
|
||||
on-success:
|
||||
- world
|
||||
hello3:
|
||||
action: std.echo output="Hello"
|
||||
publish:
|
||||
result: $
|
||||
on-success:
|
||||
- world
|
||||
hello4:
|
||||
action: std.echo output="Hello"
|
||||
publish:
|
||||
result: $
|
||||
on-success:
|
||||
- world
|
||||
|
||||
world:
|
||||
action: std.echo output="World"
|
||||
join: all
|
||||
publish:
|
||||
result: $
|
||||
on-success:
|
||||
- test1
|
||||
- test2
|
||||
- test3
|
||||
- test4
|
||||
|
||||
test1:
|
||||
action: std.echo output="Test!!"
|
||||
publish:
|
||||
result: $
|
||||
test2:
|
||||
action: std.echo output="Test!!"
|
||||
publish:
|
||||
result: $
|
||||
test3:
|
||||
action: std.echo output="Test!!"
|
||||
publish:
|
||||
result: $
|
||||
test4:
|
||||
action: std.echo output="Test!!"
|
||||
publish:
|
||||
result: $
|
||||
|
@ -45,6 +45,20 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
MistralExecutions.list_executions:
|
||||
-
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 50
|
||||
concurrency: 10
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
MistralExecutions.create_execution_from_workbook:
|
||||
-
|
||||
args:
|
||||
@ -62,16 +76,19 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
MistralExecutions.list_executions:
|
||||
-
|
||||
args:
|
||||
definition: "/home/jenkins/.rally/extra/nested_wb.yaml"
|
||||
workflow_name: "wrapping_wf"
|
||||
do_delete: true
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 50
|
||||
concurrency: 10
|
||||
times: 20
|
||||
concurrency: 5
|
||||
context:
|
||||
users:
|
||||
tenants: 1
|
||||
users_per_tenant: 1
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
max: 0
|
||||
|
Loading…
Reference in New Issue
Block a user