4d8b9c966f
This patch demonstrate way how to use rally plugins in Heat repository. Current patch contains 4 new scenario: - output-show for old algorithm - output-show for new algorithm - output-list for old algorithm - output-list for new algorithm All new plugins use simple template with ResourceGroup resource, which contains simple OS::Heat::TestResource with custom value of timeout_attr property. Change-Id: Ia960ab5bd59ca0f6fc0fa3aff069c34c67a89354
76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
---
|
|
HeatStacks.create_and_list_stack:
|
|
-
|
|
args:
|
|
template_path: "~/.rally/extra/default.yaml"
|
|
runner:
|
|
type: "constant"
|
|
times: 2000
|
|
concurrency: 20
|
|
context:
|
|
users:
|
|
tenants: 30
|
|
users_per_tenant: 1
|
|
|
|
HeatStacks.create_and_delete_stack:
|
|
-
|
|
args:
|
|
template_path: "~/.rally/extra/default.yaml"
|
|
runner:
|
|
type: "constant"
|
|
times: 200
|
|
concurrency: 20
|
|
context:
|
|
users:
|
|
tenants: 10
|
|
users_per_tenant: 3
|
|
|
|
-
|
|
args:
|
|
template_path: "~/.rally/extra/rg_template_with_constraint.yaml"
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 2
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
|
|
{% for s in ("create_stack_and_show_output_new", "create_stack_and_show_output_old") %}
|
|
CustomHeatBenchmark.{{s}}:
|
|
-
|
|
args:
|
|
template_path: "~/.rally/extra/rg_template_with_outputs.yaml"
|
|
output_key: "val1"
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
{% endfor %}
|
|
|
|
{% for s in ("create_stack_and_list_output_new", "create_stack_and_list_output_old") %}
|
|
CustomHeatBenchmark.{{s}}:
|
|
-
|
|
args:
|
|
template_path: "~/.rally/extra/rg_template_with_outputs.yaml"
|
|
runner:
|
|
type: "constant"
|
|
times: 5
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
{% endfor %}
|