From 078b95db60588e9e6b7b035636429cf47c943657 Mon Sep 17 00:00:00 2001 From: Pradeep K Surisetty Date: Tue, 7 Apr 2015 08:47:10 +0530 Subject: [PATCH] Add heat list_stack_and_events scenario This scenario covers list heat stack events Change-Id: I5e90a373bfa8efbeecc883c9dc0863c24087d8bb --- rally-jobs/rally.yaml | 17 +++++++++++++++ .../scenarios/heat/list-stack-and-event.json | 21 +++++++++++++++++++ .../scenarios/heat/list-stack-and-event.yaml | 14 +++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 samples/tasks/scenarios/heat/list-stack-and-event.json create mode 100644 samples/tasks/scenarios/heat/list-stack-and-event.yaml diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index 723cef85..713413f6 100755 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -1525,3 +1525,20 @@ sla: failure_rate: max: 0 + + HeatStacks.list_stacks_and_events: + - + 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 diff --git a/samples/tasks/scenarios/heat/list-stack-and-event.json b/samples/tasks/scenarios/heat/list-stack-and-event.json new file mode 100644 index 00000000..2e33ec29 --- /dev/null +++ b/samples/tasks/scenarios/heat/list-stack-and-event.json @@ -0,0 +1,21 @@ +{ + "HeatStacks.list_stacks_and_events": [ + { + "runner": { + "type": "constant", + "times": 10, + "concurrency": 1 + }, + "context": { + "users": { + "tenants": 1, + "users_per_tenant": 1 + }, + "stacks": { + "stacks_per_tenant": 2, + "resources_per_stack": 10 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/heat/list-stack-and-event.yaml b/samples/tasks/scenarios/heat/list-stack-and-event.yaml new file mode 100644 index 00000000..3f4b3d06 --- /dev/null +++ b/samples/tasks/scenarios/heat/list-stack-and-event.yaml @@ -0,0 +1,14 @@ +--- + HeatStacks.list_stacks_and_events: + - + runner: + type: "constant" + times: 10 + concurrency: 1 + context: + users: + tenants: 1 + users_per_tenant: 1 + stacks: + stacks_per_tenant: 2 + resources_per_stack: 10