summaryrefslogtreecommitdiffstats
path: root/dovetail/patch/0001-Adjust-Yardstick-HA-test-cases-SLA-and-log-level.patch
blob: 8c9589cac9fd598a9c76c6e62c43c0c191fa3645 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
From b7c13b5a7e07abdf4d3631049625461271fa5c5b Mon Sep 17 00:00:00 2001
From: cvp <cvp@example.com>
Date: Tue, 26 Sep 2017 03:59:54 +0000
Subject: [PATCH] Adjust Yardstick HA test cases SLA and log level

---
 tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml | 4 ++--
 tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml | 4 ++--
 tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml | 4 ++--
 tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml | 4 ++--
 tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml | 4 ++--
 tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml | 4 ++--
 yardstick/__init__.py                             | 2 +-
 7 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
index 5d3057d..c1d3645 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc019.yaml
@@ -34,10 +34,10 @@ scenarios:
     - monitor_type: "process"
       process_name: "nova-api"
       host: node1
-      monitor_time: 20
+      monitor_time: 30
       monitor_number: 3
       sla:
-        max_recover_time: 20
+        max_recover_time: 30

   nodes:
     node1: node1.LF
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml
index d851d5a..8c7348b 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc045.yaml
@@ -33,10 +33,10 @@ scenarios:
     - monitor_type: "process"
       process_name: "neutron-server"
       host: node1
-      monitor_time: 20
+      monitor_time: 30
       monitor_number: 3
       sla:
-        max_recover_time: 20
+        max_recover_time: 30

   nodes:
     node1: node1.LF
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml
index ad81a14..635e4d9 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc046.yaml
@@ -33,10 +33,10 @@ scenarios:
     - monitor_type: "process"
       process_name: "keystone"
       host: node1
-      monitor_time: 20
+      monitor_time: 30
       monitor_number: 3
       sla:
-        max_recover_time: 20
+        max_recover_time: 30

   nodes:
     node1: node1.LF
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml
index cc99036..57fa739 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc047.yaml
@@ -33,10 +33,10 @@ scenarios:
     - monitor_type: "process"
       process_name: "glance-api"
       host: node1
-      monitor_time: 20
+      monitor_time: 30
       monitor_number: 3
       sla:
-        max_recover_time: 20
+        max_recover_time: 30

   nodes:
     node1: node1.LF
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml
index 237f845..06ad641 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc048.yaml
@@ -33,10 +33,10 @@ scenarios:
     - monitor_type: "process"
       process_name: "cinder-api"
       host: node1
-      monitor_time: 20
+      monitor_time: 30
       monitor_number: 3
       sla:
-        max_recover_time: 20
+        max_recover_time: 30

   nodes:
     node1: node1.LF
diff --git a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml
index 9e05cc8..e3f0934 100644
--- a/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml
+++ b/tests/opnfv/test_cases/opnfv_yardstick_tc053.yaml
@@ -32,10 +32,10 @@ scenarios:
           key: "service-status"
           process_name: "haproxy"
           host: node1
-          monitor_time: 20
+          monitor_time: 30
           monitor_number: 3
           sla:
-            max_recover_time: 20
+            max_recover_time: 30

         -
           monitor_type: "openstack-cmd"
diff --git a/yardstick/__init__.py b/yardstick/__init__.py
index 2f5ae9f..973bfa2 100644
--- a/yardstick/__init__.py
+++ b/yardstick/__init__.py
@@ -44,7 +44,7 @@ def _init_logging():
         _LOG_STREAM_HDLR.setLevel(logging.INFO)
     # don't append to log file, clobber
     _LOG_FILE_HDLR.setFormatter(_LOG_FORMATTER)
-    _LOG_FILE_HDLR.setLevel(logging.DEBUG)
+    _LOG_FILE_HDLR.setLevel(logging.INFO)

     del logging.root.handlers[:]
     logging.root.addHandler(_LOG_STREAM_HDLR)
--
1.9.1