summaryrefslogtreecommitdiffstats
path: root/doctor_tests/scenario
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-09-18 10:15:28 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-09-18 14:30:33 +0800
commit6886f3cdb764a76d5d56ca51deb20e083d20ea75 (patch)
treee1a05cdf7495390abcedcf25b7e489a71d71caf9 /doctor_tests/scenario
parentda25598a6a31abe0579ffed12d1719e5ff75f9a7 (diff)
run profile even the notification time is larger than 1S
Change-Id: Ide5ff5e1c894e3144ac07f14b76b7092539d39f6 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/scenario')
-rw-r--r--doctor_tests/scenario/fault_management.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doctor_tests/scenario/fault_management.py b/doctor_tests/scenario/fault_management.py
index f8f53e8e..ee3bf5f1 100644
--- 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)