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:
Dmitriy Uvarenkov 2016-03-21 17:17:05 +02:00
parent 0a2c3a275e
commit f21e7f368a
2 changed files with 36 additions and 0 deletions

View File

@ -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}

View File

@ -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: