summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorqi liang <liangqi1@huawei.com>2016-01-12 14:11:59 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-12 14:11:59 +0000
commitea99867bd2a0618aff12ed977330d69467544dfd (patch)
treee91daebb438c54ec14d7de24afe00eb0d9857806 /tests
parente5a392b9488fbf6435fa0864e9e39b9afa540321 (diff)
parent32b39d0f576dc5c71678fd0b6b8feab6f2173939 (diff)
Merge "Add test case description and task file for TC019"
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