mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lf_check.py : do not error on ghost push
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -103,6 +103,7 @@ class lf_check():
|
||||
self.background_green = "background-color:green"
|
||||
self.background_red = "background-color:red"
|
||||
self.background_purple = "background-color:purple"
|
||||
self.background_blue = "background-color:blue"
|
||||
|
||||
self.http_test_ip = ""
|
||||
self.ftp_test_ip = ""
|
||||
@@ -640,6 +641,13 @@ NOTE: for now to see stdout and stderr remove /home/lanforge from path.
|
||||
self.logger.info("TIMEOUT FAILURE, Check LANforge Radios")
|
||||
self.test_result = "Time Out"
|
||||
background = self.background_purple
|
||||
|
||||
# Ghost will put data in stderr
|
||||
if('ghost' in command):
|
||||
if(self.test_result != "TIMEOUT"):
|
||||
self.test_result = "Success"
|
||||
background = self.background_blue
|
||||
|
||||
# stdout_log_link is used for the email reporting to have the corrected path
|
||||
stdout_log_link = str(stdout_log_txt).replace('/home/lanforge','')
|
||||
stderr_log_link = str(stderr_log_txt).replace('/home/lanforge','')
|
||||
|
||||
Reference in New Issue
Block a user