Add create-suspend-resume-delete stack scenario
The patch includes create-suspend-resume-delete scenario with samples and unit tests. The scenario allows to test the following typical steps: - User creates a stack in Heat - User suspends the stack - User resumes the stack from previous step - User deletes the stack Change-Id: I38a075bb57dd8311f234e4c8e1585df05d087b92
This commit is contained in:
parent
22c596b554
commit
14ada832c4
@ -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
|
||||
|
@ -623,6 +623,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:
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -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
|
Loading…
Reference in New Issue
Block a user