aboutsummaryrefslogtreecommitdiffstats
path: root/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml')
-rw-r--r--tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
index 852424d8e..08037d9fa 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
@@ -10,10 +10,13 @@
schema: "yardstick:task:0.1"
description: >
- Sample test case for the HA of controller node Openstack service.
+
+ Yardstick TC019 config file;
+ HA test case: HA test case: Control node Openstack service down - nova-api.
{% set file = file or '/etc/yardstick/pod.yaml' %}
{% set attack_host = attack_host or "node1" %}
+{% set attack_process = attack_process or "nova-api" %}
scenarios:
-
@@ -21,7 +24,7 @@ scenarios:
options:
attackers:
- fault_type: "kill-process"
- process_name: "nova-api"
+ process_name: "{{ attack_process }}"
host: {{attack_host}}
wait_time: 10
@@ -33,7 +36,7 @@ scenarios:
sla:
max_outage_time: 5
- monitor_type: "process"
- process_name: "nova-api"
+ process_name: "{{ attack_process }}"
host: {{attack_host}}
monitor_time: 30
monitor_number: 3