summaryrefslogtreecommitdiffstats
path: root/yardstick/benchmark/scenarios/availability/result_checker
diff options
context:
space:
mode:
authortjuyinkanglin <14_ykl@tongji.edu.cn>2016-07-25 12:24:18 +0800
committertjuyinkanglin <14_ykl@tongji.edu.cn>2016-07-25 13:33:18 +0800
commit4416de1c9638f58ba74e636ddac4498699d6ab72 (patch)
tree1b677479e8715ced83ecd2c898521a7ee9151028 /yardstick/benchmark/scenarios/availability/result_checker
parent84209fb5479e69dc20a83dd42b5c6b0df08f9ece (diff)
Code Clean for HA Testing Framework
JIRA: YARDSTICK-272 Change-Id: Icf41642fe0c31584f92c68cc9f97fa3f1e90b66e Signed-off-by: tjuyinkanglin <14_ykl@tongji.edu.cn>
Diffstat (limited to 'yardstick/benchmark/scenarios/availability/result_checker')
-rw-r--r--yardstick/benchmark/scenarios/availability/result_checker/result_checker_general.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/availability/result_checker/result_checker_general.py b/yardstick/benchmark/scenarios/availability/result_checker/result_checker_general.py
index 70bf9aea6..681fbf63f 100644
--- a/yardstick/benchmark/scenarios/availability/result_checker/result_checker_general.py
+++ b/yardstick/benchmark/scenarios/availability/result_checker/result_checker_general.py
@@ -32,6 +32,7 @@ class GeneralResultChecker(BaseResultChecker):
LOG.debug("ssh host success!")
self.key = self._config['key']
+ self.resultchecker_key = self._config['checker_key']
self.type = self._config['checker_type']
self.condition = self._config['condition']
self.expectedResult = self._config['expectedValue']
@@ -45,7 +46,7 @@ class GeneralResultChecker(BaseResultChecker):
self.shell_cmd = str.format(*l)
self.resultchecker_cfgs = BaseResultChecker.resultchecker_cfgs.get(
- self.key)
+ self.resultchecker_key)
self.verify_script = self.get_script_fullpath(
self.resultchecker_cfgs['verify_script'])