diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-04-18 14:17:00 +0000 |
---|---|---|
committer | Emma Foley <emma.l.foley@intel.com> | 2018-05-04 14:18:43 +0000 |
commit | 5ab701d586427ab0343c46e0cd7509cd5695c556 (patch) | |
tree | a1804e1eb961c0acda614a1b700ae008fe503bf1 | |
parent | a4c8f2a99f56dd4c9fbac4021706aa9186d23ed8 (diff) |
Update the dummy-scenario-heat-context testcase
The testcase is included in the docs to demonstrate definining a heat context.
It previously used cirros, but this is not included by default.
Set-up instructions/scripts add yardstick-image and yardstick-flavor, so these
have been added to the testcase instead.
A default value for context_name was also added.
Change-Id: I5f642086971487b334ae48a5cf5c9b71e9b99e2e
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
(cherry picked from commit f37e4dcf771caec3be52e95047997aa22cbd7a88)
-rw-r--r-- | yardstick/tests/integration/dummy-scenario-heat-context.yaml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/yardstick/tests/integration/dummy-scenario-heat-context.yaml b/yardstick/tests/integration/dummy-scenario-heat-context.yaml index 7c980b412..45a39951a 100644 --- a/yardstick/tests/integration/dummy-scenario-heat-context.yaml +++ b/yardstick/tests/integration/dummy-scenario-heat-context.yaml @@ -6,6 +6,7 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## +{% set context_name = context_name or "demo" %} --- # Sample Heat context config with Dummy context @@ -22,9 +23,9 @@ scenarios: context: name: {{ context_name }} - image: cirros-0.3.5 - flavor: cirros256 - user: cirros + image: yardstick-image + flavor: yardstick-flavor + user: ubuntu servers: athena: |