diff options
author | tjuyinkanglin <14_ykl@tongji.edu.cn> | 2016-07-15 16:26:49 +0800 |
---|---|---|
committer | tjuyinkanglin <14_ykl@tongji.edu.cn> | 2016-07-18 13:00:55 +0800 |
commit | 79e7edbb7dd0e8aed4cea42d4d2a996ef32b4237 (patch) | |
tree | 85eedce5af124d3b10e28a7129e369539545189b /tests/unit/benchmark/scenarios/availability/test_monitor_general.py | |
parent | 3a3ccbd79d47333ce7626674c68a4cdfac44020d (diff) |
code clean up
JIRA: YARDSTICK-272
Change-Id: Id2f1b3d1beff8843700cdfcaaa1e8f496f445ed9
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/benchmark/scenarios/availability/test_monitor_general.py b/tests/unit/benchmark/scenarios/availability/test_monitor_general.py index 85487a574..b48434c99 100644 --- a/tests/unit/benchmark/scenarios/availability/test_monitor_general.py +++ b/tests/unit/benchmark/scenarios/availability/test_monitor_general.py @@ -31,18 +31,18 @@ class GeneralMonitorServiceTestCase(unittest.TestCase): self.context = {"node1": host} self.monitor_cfg = { 'monitor_type': 'general-monitor', - 'key': 'service_status', + 'key': 'service-status', 'host': 'node1', 'monitor_time': 3, 'parameter': {'serviceName': 'haproxy'}, - 'sla': {'max_recover_time': 1} + 'sla': {'max_outage_time': 1} } self.monitor_cfg_noparam = { 'monitor_type': 'general-monitor', - 'key': 'service_status', + 'key': 'service-status', 'host': 'node1', 'monitor_time': 3, - 'sla': {'max_recover_time': 1} + 'sla': {'max_outage_time': 1} } def test__monitor_general_all_successful(self, mock_open, mock_ssh): |