From 78473b184f3a1293f1fe577ebefcb94d334c6cd2 Mon Sep 17 00:00:00 2001 From: tjuyinkanglin <14_ykl@tongji.edu.cn> Date: Thu, 7 Jul 2016 12:51:34 +0800 Subject: Add test case description and task file for TC046 JIRA: YARDSTICK-292 Change-Id: I552c8357bd9378bea70a12872497d09711c91eef Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn> --- tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml (limited to 'tests/opnfv/test_cases') diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml new file mode 100644 index 000000000..867553d21 --- /dev/null +++ b/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml @@ -0,0 +1,42 @@ +--- +# Test case for TC046 :Control node Openstack service down - keystone + +schema: "yardstick:task:0.1" + +scenarios: +- + type: ServiceHA + options: + attackers: + - fault_type: "kill-process" + process_name: "keystone" + host: node1 + + monitors: + - monitor_type: "openstack-cmd" + command_name: "keystone user-list" + monitor_time: 10 + sla: + max_outage_time: 5 + - monitor_type: "process" + process_name: "keystone" + 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