X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=blobdiff_plain;f=doctor_tests%2Fscenario%2Ffault_management.py;fp=doctor_tests%2Fscenario%2Ffault_management.py;h=5216aa80994693f0ff192086dfde46ead7a50b7d;hp=a110b88a5c2d595bd39875d1d6672088c5bbd678;hb=468f1f1c88b993de227c9c6df7d53f1d5b2fef87;hpb=2eb1c7f3fbd2a4bf6468f63e64ea3c1496236fe5 diff --git a/doctor_tests/scenario/fault_management.py b/doctor_tests/scenario/fault_management.py index a110b88a..5216aa80 100644 --- a/doctor_tests/scenario/fault_management.py +++ b/doctor_tests/scenario/fault_management.py @@ -209,6 +209,10 @@ class FaultManagement(object): detected = self.monitor.detected_time notified = self.consumer.notified_time + if None in [vmdown, hostdown, detected, notified]: + self.log.info('one of the time for profiler is None, return') + return + # TODO(yujunz) check the actual delay to verify time sync status # expected ~1s delay from $trigger to $linkdown relative_start = linkdown