Bugfix: Make tc019 abd tc025 accept --task-args options to change pod.yaml 53/33753/1
authorxudan <xudan16@huawei.com>
Tue, 25 Apr 2017 07:01:23 +0000 (07:01 +0000)
committerKubi <jean.gaoliang@huawei.com>
Tue, 25 Apr 2017 07:49:55 +0000 (07:49 +0000)
JIRA: YARDSTICK-628

Change-Id: I7d1b84232a7477a2854ef1625cc63521999eff65
Signed-off-by: xudan <xudan16@huawei.com>
(cherry picked from commit 3f7829f0f28ce4d517ea8654122ee0d686fddf3e)

tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
tests/opnfv/test_cases/opnfv_yardstick_tc025.yaml

index ea36b7b..a5a89e4 100644 (file)
@@ -12,6 +12,8 @@ schema: "yardstick:task:0.1"
 description: >
     Sample test case for the HA of controller node Openstack service.
 
+{% set file = file or 'etc/yardstick/nodes/fuel_virtual/pod.yaml' %}
+
 scenarios:
 -
   type: ServiceHA
@@ -50,4 +52,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}
index 4a995fd..ec3d1c8 100644 (file)
@@ -12,6 +12,8 @@ schema: "yardstick:task:0.1"
 description: >
     Sample test case for the HA of OpenStack Controll Node abnormally shutdown.
 
+{% set file = file or 'etc/yardstick/nodes/fuel_virtual/pod.yaml' %}
+
 scenarios:
 -
   type: ServiceHA
@@ -49,4 +51,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}