summaryrefslogtreecommitdiffstats
path: root/doctor_tests/scenario/fault_management.py
diff options
context:
space:
mode:
authorwenjuan dong <dong.wenjuan@zte.com.cn>2018-09-18 06:57:41 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-18 06:57:41 +0000
commitfcf53129ab2b18b84571faff13d7cb118b3a41b3 (patch)
tree7c8bc7e4be11a12a227a918d4aa52b53bde90c4e /doctor_tests/scenario/fault_management.py
parent495965d0336d42fc36494c81fd15cee2f34c96e9 (diff)
parent6886f3cdb764a76d5d56ca51deb20e083d20ea75 (diff)
Merge "run profile even the notification time is larger than 1S"
Diffstat (limited to 'doctor_tests/scenario/fault_management.py')
-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)