summaryrefslogtreecommitdiffstats
path: root/etc/testcase/yardstick.ha.cpu_load.yml
blob: 86c2509192a7533dfb87eba86e486690a345a44c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: