add injected fault check

This commit is contained in:
Xiaoxi Wang 2021-06-15 21:47:16 +00:00
parent 31c12b3d5b
commit 8f3e8ecf10
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ class LogParser:
continue
if 'Type' not in obj:
continue
if obj['Severity'] == '40':
if obj['Severity'] == '40' and obj.get('ErrorIsInjectedFault', None) != '1':
self.fail()
if self.name is not None:
obj['testname'] = self.name