X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Fopnfv%2Ftest_cases%2Fopnfv_yardstick_tc051.yaml;h=98a08b7cacce953ba83945fc1d8516e49f73c0ae;hb=661d78e5ad9a831a4e6c36287d17ff6829b062d0;hp=264f01b3cd783cfece6170f9b59b750fabae734c;hpb=dd8ca59fd7421a1f362e50f0d3413a903761d179;p=yardstick.git diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml index 264f01b3c..98a08b7ca 100644 --- a/tests/opnfv/test_cases/opnfv_yardstick_tc051.yaml +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc051.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 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/pod.yaml' %} + scenarios: - type: "GeneralHA" @@ -22,6 +32,7 @@ scenarios: key: "nova-image-list" command_name: "openstack image list" monitor_time: 10 + monitor_number: 3 sla: max_outage_time: 5 @@ -30,6 +41,7 @@ scenarios: key: "neutron-router-list" command_name: "openstack router list" monitor_time: 10 + monitor_number: 3 sla: max_outage_time: 5 @@ -38,6 +50,7 @@ scenarios: key: "heat-stack-list" command_name: "openstack stack list" monitor_time: 10 + monitor_number: 3 sla: max_outage_time: 5 @@ -46,6 +59,7 @@ scenarios: key: "cinder-list" command_name: "openstack volume list" monitor_time: 10 + monitor_number: 3 sla: max_outage_time: 5 @@ -89,4 +103,4 @@ scenarios: context: type: Node name: LF - file: etc/yardstick/nodes/fuel_virtual/pod.yaml + file: {{file}}