From 52e5dc905f321fcef7545be5cc317c902df40adf Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Tue, 22 Mar 2016 18:06:47 +0300 Subject: [PATCH] Make MQ HA scenarios longer --- performa/engine/report.py | 2 +- performa/scenarios/mq/omsimulator-ha-call.yaml | 2 +- performa/scenarios/mq/omsimulator-ha-cast.yaml | 2 +- performa/scenarios/mq/omsimulator-ha-notify.yaml | 2 +- 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, for _, chart_rec in sorted(chart_data.items(), key=lambda a: a[0]): for k in y_keys: - if chart_rec[k]: + if chart_rec[k] is not None: lines[k].append((chart_rec['x'], chart_rec[k])) 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: tasks: - omsimulator: mode: call - duration: 50 + duration: 120 threads: 1 host_count: 1 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: tasks: - omsimulator: mode: cast - duration: 50 + duration: 120 threads: 1 host_count: 1 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: tasks: - omsimulator: mode: notify - duration: 50 + duration: 120 threads: 1 host_count: 1 url: {{ rabbit_url }}