Merge "Add create-suspend-resume-delete stack scenario"

This commit is contained in:
Jenkins 2015-03-11 15:04:49 +00:00 committed by Gerrit Code Review
commit 8b6fcf6e53
4 changed files with 74 additions and 11 deletions

View File

@ -150,35 +150,49 @@
# point value)
#glance_image_delete_poll_interval = 1.0
# Time to sleep after creating a resource before polling for it status
# Time(in sec) to sleep after creating a resource before polling for it status.
# (floating point value)
#heat_stack_create_prepoll_delay = 2.0
# Time to wait for heat stack to be created. (floating point value)
# Time(in sec) to wait for heat stack to be created. (floating point value)
#heat_stack_create_timeout = 3600.0
# Interval between checks when waiting for stack creation. (floating
# point value)
# Time interval(in sec) between checks when waiting for stack creation.
# (floating point value)
#heat_stack_create_poll_interval = 1.0
# Time to wait for heat stack to be deleted. (floating point value)
# Time(in sec) to wait for heat stack to be deleted. (floating point value)
#heat_stack_delete_timeout = 3600.0
# Interval between checks when waiting for stack deletion. (floating
# point value)
# Time interval(in sec) between checks when waiting for stack deletion.
# (floating point value)
#heat_stack_delete_poll_interval = 1.0
# Time to sleep after updating a resource before polling for it status
# Time(in sec) to sleep after updating a resource before polling for it status.
# (floating point value)
#heat_stack_update_prepoll_delay = 2.0
# Time to wait for stack to be updated (floating point value)
# Time(in sec) to wait for stack to be updated. (floating point value)
#heat_stack_update_timeout = 3600.0
# Interval between checks when waiting for stack update. (floating
# point value)
# Time interval(in sec) between checks when waiting for stack update.
# (floating point value)
#heat_stack_update_poll_interval = 1.0
# Time(in sec) to wait for stack to be suspended. (floating point value)
#heat_stack_suspend_timeout = 3600.0
# Time interval(in sec) between checks when waiting for stack suspend.
# (floating point value)
#heat_stack_suspend_poll_interval = 1.0
# Time(in sec) to wait for stack to be resumed. (floating point value)
#heat_stack_resume_timeout = 3600.0
# Time interval(in sec) between checks when waiting for stack resume.
# (floating point value)
#heat_stack_resume_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

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

View File

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

View File

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