Add list-stack-with-resources scenario

Added scenario that allows to test list_resources(stack) command
in Heat. In addition, added samples and unittest for the scenario.

Change-Id: I05c8dd12807756d35191a79820f3ff9ec0ab35ac
This commit is contained in:
kairat_kushaev
2015-02-06 18:57:42 +03:00
parent 868177743a
commit 84fbfccc54
3 changed files with 52 additions and 0 deletions

View File

@@ -585,6 +585,23 @@
failure_rate:
max: 0
HeatStacks.list_stacks_and_resources:
-
runner:
type: "constant"
times: 6
concurrency: 3
context:
users:
tenants: 2
users_per_tenant: 3
stacks:
stacks_per_tenant: 2
resources_per_stack: 10
sla:
failure_rate:
max: 0
Authenticate.keystone:
-
runner:

View File

@@ -0,0 +1,21 @@
{
"HeatStacks.list_stacks_and_resources": [
{
"runner": {
"type": "constant",
"times": 10,
"concurrency": 1
},
"context": {
"users": {
"tenants": 1,
"users_per_tenant": 1
},
"stacks": {
"stacks_per_tenant": 2,
"resources_per_stack": 10
}
}
}
]
}

View File

@@ -0,0 +1,14 @@
---
HeatStacks.list_stacks_and_resources:
-
runner:
type: "constant"
times: 10
concurrency: 1
context:
users:
tenants: 1
users_per_tenant: 1
stacks:
stacks_per_tenant: 2
resources_per_stack: 10