Add configuration for Heat caching during validation
With this configuration you can test heat caching. Already was in heat repo, just added it to rally. Change-Id: I8bd35a0f96a9f73a33f434ad7e3412db6f1d95ad
This commit is contained in:
parent
e93e7002d1
commit
7c72a374a2
@ -0,0 +1,21 @@
|
||||
heat_template_version: 2013-05-23
|
||||
|
||||
description: Template for testing caching.
|
||||
|
||||
parameters:
|
||||
count:
|
||||
type: number
|
||||
default: 40
|
||||
delay:
|
||||
type: number
|
||||
default: 0.3
|
||||
|
||||
resources:
|
||||
rg:
|
||||
type: OS::Heat::ResourceGroup
|
||||
properties:
|
||||
count: {get_param: count}
|
||||
resource_def:
|
||||
type: OS::Heat::TestResource
|
||||
properties:
|
||||
constraint_prop_secs: {get_param: delay}
|
@ -64,6 +64,21 @@
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
-
|
||||
args:
|
||||
template_path: "~/.rally/extra/resource_group_with_constraint.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 6
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 2
|
||||
users_per_tenant: 2
|
||||
sla:
|
||||
failure_rate:
|
||||
max: 0
|
||||
|
||||
HeatStacks.create_check_delete_stack:
|
||||
-
|
||||
args:
|
||||
|
@ -0,0 +1,20 @@
|
||||
{
|
||||
"HeatStacks.create_and_delete_stack": [
|
||||
{
|
||||
"args": {
|
||||
"template_path": "templates/resource_group_with_constraint.yaml.template"
|
||||
},
|
||||
"runner": {
|
||||
"type": "constant",
|
||||
"times": 10,
|
||||
"concurrency": 2
|
||||
},
|
||||
"context": {
|
||||
"users": {
|
||||
"tenants": 2,
|
||||
"users_per_tenant": 2
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
---
|
||||
HeatStacks.create_and_delete_stack:
|
||||
-
|
||||
args:
|
||||
template_path: "templates/resource_group_with_constraint.yaml.template"
|
||||
runner:
|
||||
type: "constant"
|
||||
times: 10
|
||||
concurrency: 2
|
||||
context:
|
||||
users:
|
||||
tenants: 2
|
||||
users_per_tenant: 2
|
@ -0,0 +1,21 @@
|
||||
heat_template_version: 2013-05-23
|
||||
|
||||
description: Template for testing caching.
|
||||
|
||||
parameters:
|
||||
count:
|
||||
type: number
|
||||
default: 40
|
||||
delay:
|
||||
type: number
|
||||
default: 0.1
|
||||
|
||||
resources:
|
||||
rg:
|
||||
type: OS::Heat::ResourceGroup
|
||||
properties:
|
||||
count: {get_param: count}
|
||||
resource_def:
|
||||
type: OS::Heat::TestResource
|
||||
properties:
|
||||
constraint_prop_secs: {get_param: delay}
|
Loading…
Reference in New Issue
Block a user