Merge "[dovetail] split the sla check results into process recovery and service recov...
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc045.yaml
index 6a3465c..b23855d 100644 (file)
@@ -15,6 +15,7 @@ description: >
 
 {% set file = file or '/etc/yardstick/pod.yaml' %}
 {% set attack_host = attack_host or "node1" %}
+{% set attack_process = attack_process or "neutron-server" %}
 
 scenarios:
 -
@@ -22,7 +23,7 @@ scenarios:
   options:
     attackers:
     - fault_type: "kill-process"
-      process_name: "neutron-server"
+      process_name: "{{ attack_process }}"
       host: {{attack_host}}
 
     monitors:
@@ -33,12 +34,10 @@ scenarios:
       sla:
         max_outage_time: 5
     - monitor_type: "process"
-      process_name: "neutron-server"
+      process_name: "{{ attack_process }}"
       host: {{attack_host}}
       monitor_time: 30
       monitor_number: 3
-      sla:
-        max_recover_time: 30
 
   nodes:
     {{attack_host}}: {{attack_host}}.LF