aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorwym_libra <yimin.wang@huawei.com>2015-12-10 15:09:59 +0800
committerqi liang <liangqi1@huawei.com>2016-01-12 14:12:09 +0000
commite1e4dfe361f62e7eec0eb7c8c6e44dea8a54440a (patch)
treee91daebb438c54ec14d7de24afe00eb0d9857806 /tests
parent8bb02c59547badff1a7a2e2ab4a9f3622a0134d1 (diff)
Add test case description and task file for TC019
Add test case description for Control node-OpenStack service down (TC019) and test case .yaml task file. ** Please note that the SLA value has not yet been determined. ** JIRA: YARDSTICK-135 Change-Id: Id512159034929dc197d2c7fdf6cc672ecddfb996 Signed-off-by: wym_libra <yimin.wang@huawei.com> (cherry picked from commit 32b39d0f576dc5c71678fd0b6b8feab6f2173939)
Diffstat (limited to 'tests')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
new file mode 100644
index 000000000..181d7cd73
--- /dev/null
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
@@ -0,0 +1,38 @@
+---
+# Sample test case for the HA of controller node Openstack service
+
+schema: "yardstick:task:0.1"
+
+scenarios:
+-
+ type: ServiceHA
+ options:
+ attackers:
+ - fault_type: "kill-process"
+ process_name: "nova-api"
+ host: node1
+
+ wait_time: 10
+ monitors:
+ - monitor_type: "openstack-cmd"
+ command_name: "nova image-list"
+ - monitor_type: "process"
+ process_name: "nova-api"
+ host: node1
+
+ nodes:
+ node1: node1.LF
+
+ runner:
+ type: Iteration
+ iterations: 1
+
+ sla:
+ outage_time: 5
+ action: monitor
+
+
+context:
+ type: Node
+ name: LF
+ file: /root/yardstick/etc/yardstick/nodes/fuel_virtual/pod.yaml