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-04-18 14:17:00 +0000 |
commit | f37e4dcf771caec3be52e95047997aa22cbd7a88 (patch) | |
tree | 57d6b7baf3eb538612645a7ab9afdd6ce17ec188 | |
parent | be5e495a1cb7ab97b9202900defaf00dbd773054 (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>
-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: |