aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
diff options
context:
space:
mode:
authorJingLu5 <lvjing5@huawei.com>2017-03-25 01:17:53 +0000
committerJing Lu <lvjing5@huawei.com>2017-03-27 00:41:37 +0000
commit22face53226f3b3dc3d0f7825edb1d86352149af (patch)
treecc57cc5a2d2551ef14ca30376bc8c4a4a3ffb8e4 /tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
parenta900273be090491ce71f9e78ac456c49093e3f71 (diff)
Bugfix:HA test cases rely on dynamic ip addresses in fuel pods
JIRA: YARDSTICK-602 change HA test cases to rely on dynamical generated pod.yaml in fuel pods Change-Id: I0efb01489eb2dd94babf1a45bff2fbf6adef5f6e Signed-off-by: JingLu5 <lvjing5@huawei.com> (cherry picked from commit 6c414e6f46861f71aa68db43ffabcad2305f3f32)
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
index e8cc81745..cf2b51548 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml
@@ -13,6 +13,8 @@ description: >
Test case for TC051 :OpenStack Controller Node CPU Overload High Availability;
This test case is written by new scenario-based HA testing framework.
+{% set file = file or 'etc/yardstick/nodes/fuel_baremetal/pod.yaml' %}
+
scenarios:
-
type: "GeneralHA"
@@ -97,4 +99,4 @@ scenarios:
context:
type: Node
name: LF
- file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+ file: {{file}}