Add create-check-delete stack scenario

The patch includes scenario that measures performance
for the following scenario steps:
- Create a new stack from template in Heat
- Check the created stack and its resources in Heat.
- Delete the stack.
The patch includes samples and unittests.

Change-Id: I512f5d5c01d8f5973b68672476e970c54000470b
This commit is contained in:
kairat_kushaev 2015-02-12 19:11:19 +03:00
parent 14ada832c4
commit 86aed462d3
4 changed files with 56 additions and 0 deletions

View File

@ -193,6 +193,13 @@
# (floating point value)
#heat_stack_resume_poll_interval = 1.0
# Time(in sec) to wait for stack to be checked. (floating point value)
#heat_stack_check_timeout = 3600.0
# Time interval(in sec) between checks when waiting for stack checking.
# (floating point value)
#heat_stack_check_poll_interval = 1.0
# Time to sleep after start before polling for status (floating point
# value)
#nova_server_start_prepoll_delay = 0.0

View File

@ -509,6 +509,22 @@
failure_rate:
max: 0
HeatStacks.create_check_delete_stack:
-
args:
template_path: "/home/jenkins/.rally/extra/random_strings.yaml.template"
runner:
type: "constant"
times: 6
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 2
sla:
failure_rate:
max: 0
HeatStacks.create_update_delete_stack:
-
args:

View File

@ -0,0 +1,20 @@
{
"HeatStacks.create_check_delete_stack": [
{
"args": {
"template_path": "templates/random_strings.yaml.template"
},
"runner": {
"type": "constant",
"times": 10,
"concurrency": 2
},
"context": {
"users": {
"tenants": 2,
"users_per_tenant": 3
}
}
}
]
}

View File

@ -0,0 +1,13 @@
---
HeatStacks.create_check_delete_stack:
-
args:
template_path: "templates/random_strings.yaml.template"
runner:
type: "constant"
times: 10
concurrency: 2
context:
users:
tenants: 2
users_per_tenant: 3