Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
da25598
)
run profile even the notification time is larger than 1S
31/62431/1
author
dongwenjuan
<dong.wenjuan@zte.com.cn>
Tue, 18 Sep 2018 02:15:28 +0000
(10:15 +0800)
committer
dongwenjuan
<dong.wenjuan@zte.com.cn>
Tue, 18 Sep 2018 06:30:33 +0000
(14:30 +0800)
Change-Id: Ide5ff5e1c894e3144ac07f14b76b7092539d39f6
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
doctor_tests/scenario/fault_management.py
patch
|
blob
|
history
diff --git
a/doctor_tests/scenario/fault_management.py
b/doctor_tests/scenario/fault_management.py
index
f8f53e8
..
ee3bf5f
100644
(file)
--- a/
doctor_tests/scenario/fault_management.py
+++ b/
doctor_tests/scenario/fault_management.py
@@
-184,6
+184,10
@@
class FaultManagement(object):
self.log.info('doctor fault management test successfully,'
'notification_time=%s' % notification_time)
else:
+ if self.conf.profiler_type:
+ self.log.info('run doctor fault management profile.......')
+ self.run_profiler()
+
raise Exception('doctor fault management test failed, '
'notification_time=%s' % notification_time)