Merge "Test case: Fio volume benchmark testcase using job file"
[yardstick.git] / tests / opnfv / test_cases / opnfv_yardstick_tc053.yaml
index 19b406a..3ecbc30 100644 (file)
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 14_ykl@tongji.edu.cn and others.
+#
+# 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
+##############################################################################
 ---
 
 schema: "yardstick:task:0.1"
@@ -5,6 +13,8 @@ description: >
     Test case for TC053 :Openstack Controller Load Balance Service High Availability;
     This test case is written by new scenario-based HA testing framework.
 
+{% set file = file or '/etc/yardstick/pod.yaml' %}
+
 scenarios:
   -
     type: "GeneralHA"
@@ -23,14 +33,16 @@ scenarios:
           process_name: "haproxy"
           host: node1
           monitor_time: 20
+          monitor_number: 3
           sla:
-            max_recover_time: 30
+            max_recover_time: 20
 
         -
           monitor_type: "openstack-cmd"
           key: "list-images"
           command_name: "openstack image list"
           monitor_time: 10
+          monitor_number: 3
           sla:
             max_outage_time: 5
 
@@ -60,4 +72,4 @@ scenarios:
 context:
   type: Node
   name: LF
-  file: etc/yardstick/nodes/fuel_virtual/pod.yaml
+  file: {{file}}