diff options
author | wenjuan dong <dong.wenjuan@zte.com.cn> | 2018-10-25 06:05:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-25 06:05:48 +0000 |
commit | 23bf63c4616040cb0d69cd26238af2a4a7c00a90 (patch) | |
tree | f4f10c0afdf8ba69d6ea640e5cbf779a3ac49409 /doctor_tests/scenario/fault_management.py | |
parent | 61eb3927ada784cc3dffb5ddd17f66e47871f708 (diff) | |
parent | 2a1d82ade82c3076a630af41da493da5a606993d (diff) |
Merge "fix the username to login undercloud in Apex"
Diffstat (limited to 'doctor_tests/scenario/fault_management.py')
-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.......') |