diff options
author | rexlee8776 <limingjiang@huawei.com> | 2017-08-26 01:37:10 +0000 |
---|---|---|
committer | rexlee8776 <limingjiang@huawei.com> | 2017-09-01 02:06:59 +0000 |
commit | f41d7301d4c736fb8b3e734cad72107d9154e59f (patch) | |
tree | 24fd8d9fd86f440e4ca61e9a2309bb4d3ba4585e /yardstick/benchmark/scenarios/availability/director.py | |
parent | 952ccb549c08b620a35f20ae809e0cea88ae4d99 (diff) |
Bugfix: ha test case criteria pass when sla not pass
ha test cases didn't store moniter info and report
fail when sla didn't pass
Change-Id: I0e5637e37a66e1bf03b47fe09d17e0a1acfa11c1
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
Diffstat (limited to 'yardstick/benchmark/scenarios/availability/director.py')
-rw-r--r-- | yardstick/benchmark/scenarios/availability/director.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/yardstick/benchmark/scenarios/availability/director.py b/yardstick/benchmark/scenarios/availability/director.py index c9187c34d..f152af090 100644 --- a/yardstick/benchmark/scenarios/availability/director.py +++ b/yardstick/benchmark/scenarios/availability/director.py @@ -111,3 +111,8 @@ class Director(object): while self.executionSteps: singleStep = self.executionSteps.pop() singleStep.rollback() + + def store_result(self, result): + LOG.debug("store result ....") + if hasattr(self, 'monitorMgr'): + self.monitorMgr.store_result(result) |