aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authortjuyinkanglin <14_ykl@tongji.edu.cn>2016-07-07 12:51:34 +0800
committertjuyinkanglin <14_ykl@tongji.edu.cn>2016-07-07 12:55:35 +0800
commit78473b184f3a1293f1fe577ebefcb94d334c6cd2 (patch)
tree90270f2d52240c64d9bdb1f4a13af97f8f8d1333 /tests
parent991aaea442d2a36d43871224a7d96a7e7eea6910 (diff)
Add test case description and task file for TC046
JIRA: YARDSTICK-292 Change-Id: I552c8357bd9378bea70a12872497d09711c91eef Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
Diffstat (limited to 'tests')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml42
1 files changed, 42 insertions, 0 deletions
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