X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Fopnfv%2Ftest_cases%2Fopnfv_yardstick_tc053.yaml;h=3ecbc308cf703ec656de6dce93c7894f02fc0fa9;hb=952ccb549c08b620a35f20ae809e0cea88ae4d99;hp=19b406aa67c4a07977eb1c6a967758b7a50e4a30;hpb=dd8ca59fd7421a1f362e50f0d3413a903761d179;p=yardstick.git diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml index 19b406aa6..3ecbc308c 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml @@ -1,3 +1,11 @@ +############################################################################## +# Copyright (c) 2017 14_ykl@tongji.edu.cn and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## --- schema: "yardstick:task:0.1" @@ -5,6 +13,8 @@ description: > Test case for TC053 :Openstack Controller Load Balance Service High Availability; This test case is written by new scenario-based HA testing framework. +{% set file = file or '/etc/yardstick/pod.yaml' %} + scenarios: - type: "GeneralHA" @@ -23,14 +33,16 @@ scenarios: process_name: "haproxy" host: node1 monitor_time: 20 + monitor_number: 3 sla: - max_recover_time: 30 + max_recover_time: 20 - monitor_type: "openstack-cmd" key: "list-images" command_name: "openstack image list" monitor_time: 10 + monitor_number: 3 sla: max_outage_time: 5 @@ -60,4 +72,4 @@ scenarios: context: type: Node name: LF - file: etc/yardstick/nodes/fuel_virtual/pod.yaml + file: {{file}}