summaryrefslogtreecommitdiffstats
path: root/etc/testcase/yardstick.ha.cpu_load.yml
diff options
context:
space:
mode:
Diffstat (limited to 'etc/testcase/yardstick.ha.cpu_load.yml')
-rw-r--r--etc/testcase/yardstick.ha.cpu_load.yml32
1 files changed, 32 insertions, 0 deletions
diff --git a/etc/testcase/yardstick.ha.cpu_load.yml b/etc/testcase/yardstick.ha.cpu_load.yml
new file mode 100644
index 00000000..86c25091
--- /dev/null
+++ b/etc/testcase/yardstick.ha.cpu_load.yml
@@ -0,0 +1,32 @@
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+---
+yardstick.ha.cpu_load:
+ name: yardstick.ha.cpu_load
+ objective: >
+ This test case will verify the high availability of control node.
+ When the CPU usage of a specified controller node is stressed to 100%,
+ which breaks down the Openstack services on this node. These Openstack service
+ should able to be accessed by other controller nodes, and the services on
+ failed controller node should be isolated.
+ validate:
+ type: yardstick
+ testcase: opnfv_yardstick_tc051
+ report:
+ source_archive_files:
+ - yardstick.log
+ - yardstick.ha.cpu_load.out
+ dest_archive_files:
+ - ha_logs/yardstick.ha.cpu_load.log
+ - ha_logs/yardstick.ha.cpu_load.out
+ check_results_files:
+ - ha_logs/yardstick.ha.cpu_load.out
+ portal_key_file: ha_logs/yardstick.ha.cpu_load.log
+ sub_testcase_list: