CI: fix after bad merge in main.py
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
+3
-3
@@ -1246,8 +1246,9 @@ class SSHConnection():
|
|||||||
if self.ADBIPAddress == '' or self.ADBUserName == '' or self.ADBPassword == '':
|
if self.ADBIPAddress == '' or self.ADBUserName == '' or self.ADBPassword == '':
|
||||||
Usage()
|
Usage()
|
||||||
sys.exit('Insufficient Parameter')
|
sys.exit('Insufficient Parameter')
|
||||||
initialize_eNB_flag = False
|
check_eNB = True
|
||||||
pStatus = self.CheckProcessExist(initialize_eNB_flag)
|
check_OAI_UE = False
|
||||||
|
pStatus = self.CheckProcessExist(check_eNB, check_OAI_UE)
|
||||||
if (pStatus < 0):
|
if (pStatus < 0):
|
||||||
self.CreateHtmlTestRow('N/A', 'KO', pStatus)
|
self.CreateHtmlTestRow('N/A', 'KO', pStatus)
|
||||||
self.CreateHtmlTabFooter(False)
|
self.CreateHtmlTabFooter(False)
|
||||||
@@ -3731,7 +3732,6 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
|
|||||||
SSH.ShowTestID()
|
SSH.ShowTestID()
|
||||||
GetParametersFromXML(action)
|
GetParametersFromXML(action)
|
||||||
if action == 'Initialize_UE' or action == 'Attach_UE' or action == 'Detach_UE' or action == 'Ping' or action == 'Iperf' or action == 'Reboot_UE' or action == 'DataDisable_UE' or action == 'DataEnable_UE' or action == 'CheckStatusUE':
|
if action == 'Initialize_UE' or action == 'Attach_UE' or action == 'Detach_UE' or action == 'Ping' or action == 'Iperf' or action == 'Reboot_UE' or action == 'DataDisable_UE' or action == 'DataEnable_UE' or action == 'CheckStatusUE':
|
||||||
if action == 'Initialize_UE' or action == 'Attach_UE' or action == 'Detach_UE' or action == 'Ping' or action == 'Iperf' or action == 'Reboot_UE':
|
|
||||||
if (SSH.ADBIPAddress != 'none'):
|
if (SSH.ADBIPAddress != 'none'):
|
||||||
terminate_ue_flag = False
|
terminate_ue_flag = False
|
||||||
SSH.GetAllUEDevices(terminate_ue_flag)
|
SSH.GetAllUEDevices(terminate_ue_flag)
|
||||||
|
|||||||
Reference in New Issue
Block a user