From e64ed08f1f8526edd811927bf771a0d3d16ab8d7 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Tue, 12 Oct 2021 11:42:00 -0600 Subject: [PATCH] lf_check.py : changed checking for 'error ' to not pick up errors which can be tx or rx errors Signed-off-by: Chuck SmileyRekiere --- py-scripts/tools/lf_check.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index 1f6e01ab..3f87e992 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -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: