summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shakhat <ishakhat@mirantis.com>2016-03-22 18:06:47 +0300
committerIlya Shakhat <ishakhat@mirantis.com>2016-03-22 18:06:47 +0300
commit52e5dc905f321fcef7545be5cc317c902df40adf (patch)
tree0d7a415cadd966eee5d3ac14f4196bdf23d8f501
parent225fefe4db33f5a12b487ff1d9d368460f02cec9 (diff)
Make MQ HA scenarios longer
-rw-r--r--performa/engine/report.py2
-rw-r--r--performa/scenarios/mq/omsimulator-ha-call.yaml2
-rw-r--r--performa/scenarios/mq/omsimulator-ha-cast.yaml2
-rw-r--r--performa/scenarios/mq/omsimulator-ha-notify.yaml2
4 files changed, 4 insertions, 4 deletions
diff --git a/performa/engine/report.py b/performa/engine/report.py
index b0ee970..6ae50ee 100644
--- a/performa/engine/report.py
+++ b/performa/engine/report.py
@@ -86,7 +86,7 @@ def generate_chart(chart_str, db, doc_folder, tag,
86 86
87 for _, chart_rec in sorted(chart_data.items(), key=lambda a: a[0]): 87 for _, chart_rec in sorted(chart_data.items(), key=lambda a: a[0]):
88 for k in y_keys: 88 for k in y_keys:
89 if chart_rec[k]: 89 if chart_rec[k] is not None:
90 lines[k].append((chart_rec['x'], chart_rec[k])) 90 lines[k].append((chart_rec['x'], chart_rec[k]))
91 91
92 values = [] 92 values = []
diff --git a/performa/scenarios/mq/omsimulator-ha-call.yaml b/performa/scenarios/mq/omsimulator-ha-call.yaml
index 295161f..0b0960c 100644
--- a/performa/scenarios/mq/omsimulator-ha-call.yaml
+++ b/performa/scenarios/mq/omsimulator-ha-call.yaml
@@ -36,7 +36,7 @@ execution:
36 tasks: 36 tasks:
37 - omsimulator: 37 - omsimulator:
38 mode: call 38 mode: call
39 duration: 50 39 duration: 120
40 threads: 1 40 threads: 1
41 host_count: 1 41 host_count: 1
42 url: {{ rabbit_url }} 42 url: {{ rabbit_url }}
diff --git a/performa/scenarios/mq/omsimulator-ha-cast.yaml b/performa/scenarios/mq/omsimulator-ha-cast.yaml
index f35885f..0e0fd11 100644
--- a/performa/scenarios/mq/omsimulator-ha-cast.yaml
+++ b/performa/scenarios/mq/omsimulator-ha-cast.yaml
@@ -36,7 +36,7 @@ execution:
36 tasks: 36 tasks:
37 - omsimulator: 37 - omsimulator:
38 mode: cast 38 mode: cast
39 duration: 50 39 duration: 120
40 threads: 1 40 threads: 1
41 host_count: 1 41 host_count: 1
42 url: {{ rabbit_url }} 42 url: {{ rabbit_url }}
diff --git a/performa/scenarios/mq/omsimulator-ha-notify.yaml b/performa/scenarios/mq/omsimulator-ha-notify.yaml
index 9d2ee54..599b614 100644
--- a/performa/scenarios/mq/omsimulator-ha-notify.yaml
+++ b/performa/scenarios/mq/omsimulator-ha-notify.yaml
@@ -36,7 +36,7 @@ execution:
36 tasks: 36 tasks:
37 - omsimulator: 37 - omsimulator:
38 mode: notify 38 mode: notify
39 duration: 50 39 duration: 120
40 threads: 1 40 threads: 1
41 host_count: 1 41 host_count: 1
42 url: {{ rabbit_url }} 42 url: {{ rabbit_url }}