diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2018-10-25 11:23:58 +0800 |
---|---|---|
committer | Tomi Juvonen <tomi.juvonen@nokia.com> | 2018-10-29 12:51:41 +0000 |
commit | a7517dda9ede8bedadcbcedf7a46187268977d3a (patch) | |
tree | 113f123f9b26c20eb6681863242569edbbb7eb4a /doctor_tests/scenario | |
parent | bec932db65949fb4c8356c590efc85eda6845c00 (diff) |
fix the username to login undercloud in Apex
Change-Id: I6d5325166db642b3481a0327f518ec821a8ab378
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
(cherry picked from commit 2a1d82ade82c3076a630af41da493da5a606993d)
Diffstat (limited to 'doctor_tests/scenario')
-rw-r--r-- | doctor_tests/scenario/fault_management.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doctor_tests/scenario/fault_management.py b/doctor_tests/scenario/fault_management.py index ee3bf5f1..869311bd 100644 --- a/doctor_tests/scenario/fault_management.py +++ b/doctor_tests/scenario/fault_management.py @@ -180,9 +180,12 @@ class FaultManagement(object): notification_time = \ self.consumer.notified_time - \ self.monitor.detected_time + + self.log.info('doctor fault management notification_time=%s' + % notification_time) + if notification_time < 1 and notification_time > 0: - self.log.info('doctor fault management test successfully,' - 'notification_time=%s' % notification_time) + self.log.info('doctor fault management test successfully') else: if self.conf.profiler_type: self.log.info('run doctor fault management profile.......') |