lf_check.py : changed checking for 'error ' to not pick up errors

which can be tx or rx errors

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-10-12 11:42:00 -06:00
parent 13a28c7b55
commit e64ed08f1f

View File

@@ -915,7 +915,8 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip, qa_url=qa_url)
if 'ERROR: Could not find component: TestTag' in text:
self.test_result = "Success"
background = self.background_green
elif 'error' in text.lower():
# leave the space in after error to not pick up tx errors or rx errors
elif 'error ' in text.lower():
self.test_result = "Test Fail"
background = self.background_orange
else: