From 263f76dfa6e6f994ae499a07ee40b07f53992cbf Mon Sep 17 00:00:00 2001 From: tjuyinkanglin <14_ykl@tongji.edu.cn> Date: Wed, 6 Jul 2016 19:40:16 +0800 Subject: Add test case description and task file for TC045 JIRA: YARDSTICK-291 Change-Id: I85081c075fb795ee7839009952e49ad13b9cf2bf Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn> --- tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml (limited to 'tests/opnfv/test_cases') diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml new file mode 100644 index 000000000..812d53dd8 --- /dev/null +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml @@ -0,0 +1,43 @@ +--- +# Test case for TC045 :Control node Openstack service down - neutron server + +schema: "yardstick:task:0.1" + +scenarios: +- + type: ServiceHA + options: + attackers: + - fault_type: "kill-process" + process_name: "neutron-server" + host: node1 + + monitors: + - monitor_type: "openstack-cmd" + command_name: "neutron agent-list" + monitor_time: 10 + sla: + max_outage_time: 5 + - monitor_type: "process" + process_name: "neutron-server" + host: node1 + monitor_time: 10 + sla: + max_recover_time: 5 + + nodes: + node1: node1.LF + + runner: + type: Duration + duration: 1 + sla: + outage_time: 5 + action: monitor + + +context: + type: Node + name: LF + file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml + -- cgit 1.2.3-korg