mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-17 10:35:13 +00:00
lf_check.py : removed the ghost post information
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -1013,16 +1013,6 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip,qa_url=qa_url)
|
|||||||
self.test_result = "Time Out"
|
self.test_result = "Time Out"
|
||||||
background = self.background_purple
|
background = self.background_purple
|
||||||
|
|
||||||
# Ghost will put data in stderr
|
|
||||||
if 'ghost' in command or 'lf_qa' in command:
|
|
||||||
if self.test_result != "TIMEOUT":
|
|
||||||
text = open(stderr_log_txt).read()
|
|
||||||
if 'Error' in text:
|
|
||||||
self.test_result = "Failure"
|
|
||||||
background = self.background_red
|
|
||||||
else:
|
|
||||||
self.test_result = "Success"
|
|
||||||
background = self.background_blue
|
|
||||||
if 'lf_qa' in command:
|
if 'lf_qa' in command:
|
||||||
line_list = open(stdout_log_txt).readlines()
|
line_list = open(stdout_log_txt).readlines()
|
||||||
for line in line_list:
|
for line in line_list:
|
||||||
|
|||||||
Reference in New Issue
Block a user