diff options
author | 2016-07-25 12:24:18 +0800 | |
---|---|---|
committer | 2016-07-25 13:33:18 +0800 | |
commit | 4416de1c9638f58ba74e636ddac4498699d6ab72 (patch) | |
tree | 1b677479e8715ced83ecd2c898521a7ee9151028 /tests/unit/benchmark/scenarios/availability/test_monitor_general.py | |
parent | 84209fb5479e69dc20a83dd42b5c6b0df08f9ece (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 'tests/unit/benchmark/scenarios/availability/test_monitor_general.py')
-rw-r--r-- | tests/unit/benchmark/scenarios/availability/test_monitor_general.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_monitor_general.py b/tests/unit/benchmark/scenarios/availability/test_monitor_general.py index b48434c99..de7d26cbf 100644 --- a/tests/unit/benchmark/scenarios/availability/test_monitor_general.py +++ b/tests/unit/benchmark/scenarios/availability/test_monitor_general.py @@ -32,6 +32,7 @@ class GeneralMonitorServiceTestCase(unittest.TestCase): self.monitor_cfg = { 'monitor_type': 'general-monitor', 'key': 'service-status', + 'monitor_key': 'service-status', 'host': 'node1', 'monitor_time': 3, 'parameter': {'serviceName': 'haproxy'}, @@ -40,6 +41,7 @@ class GeneralMonitorServiceTestCase(unittest.TestCase): self.monitor_cfg_noparam = { 'monitor_type': 'general-monitor', 'key': 'service-status', + 'monitor_key': 'service-status', 'host': 'node1', 'monitor_time': 3, 'sla': {'max_outage_time': 1} |