Code Review
/
doctor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
235730f
)
Merge "Fix tox to clean python cache"
author
Tomi Juvonen
<tomi.juvonen@nokia.com>
Tue, 9 Apr 2019 12:49:28 +0000
(12:49 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Tue, 9 Apr 2019 12:49:28 +0000
(12:49 +0000)
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
a110b88
..
5216aa8
100644
(file)
--- 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