mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
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:
@@ -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:
|
if 'ERROR: Could not find component: TestTag' in text:
|
||||||
self.test_result = "Success"
|
self.test_result = "Success"
|
||||||
background = self.background_green
|
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"
|
self.test_result = "Test Fail"
|
||||||
background = self.background_orange
|
background = self.background_orange
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user