Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Restructure user-guide"
[yardstick.git]
/
yardstick
/
benchmark
/
scenarios
/
availability
/
serviceha.py
diff --git
a/yardstick/benchmark/scenarios/availability/serviceha.py
b/yardstick/benchmark/scenarios/availability/serviceha.py
index
aee94ee
..
10f2c4f
100755
(executable)
--- 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