summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-08-19 17:04:31 +0000
committerrexlee8776 <limingjiang@huawei.com>2016-08-19 17:04:31 +0000
commit1a884e81e8ea3779f63122b3af844011d8a1d421 (patch)
tree89ade887b1357e40b3c2fb2b590c2bb591d44a35
parent4afe3795d72295ff181853fc9e6602e98ddf608b (diff)
bugfix: serviceha do not provide result to influxdb
JIRA: YARDSTICK-320 Change-Id: I94cdc2cc9f4f356484d49916d2c67bac61e38967 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
-rwxr-xr-xyardstick/benchmark/scenarios/availability/serviceha.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/availability/serviceha.py b/yardstick/benchmark/scenarios/availability/serviceha.py
index aee94ee09..10f2c4f45 100755
--- a/yardstick/benchmark/scenarios/availability/serviceha.py
+++ b/yardstick/benchmark/scenarios/availability/serviceha.py
@@ -66,6 +66,10 @@ class ServiceHA(base.Scenario):
LOG.info("monitor stop!")
sla_pass = self.monitorMgr.verify_SLA()
+ if sla_pass:
+ result['sla_pass'] = 1
+ else:
+ result['sla_pass'] = 0
assert sla_pass is True, "the test cases is not pass the SLA"
return