run profile even the notification time is larger than 1S
[doctor.git] / doctor_tests / scenario / fault_management.py
index f8f53e8..ee3bf5f 100644 (file)
@@ -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)