Merge remote-tracking branch 'origin/CI-ue-attach' into integration_2025_w48 (!3763)
CI: Reduce the tries to attach the UE in CI runs The goal of this MR is to save time in CI runs by reducing the UE attach tries to 3 instead of 4 and UE timeout to 20 seconds, which will be incremented after each fail, instead of 60 seconds.
This commit is contained in:
@@ -111,10 +111,11 @@ class Module_UE:
|
|||||||
return self._collectTrace(ctx)
|
return self._collectTrace(ctx)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def attach(self, attach_tries = 4, attach_timeout = 60):
|
def attach(self, attach_tries = 3, attach_timeout = 0):
|
||||||
ip = None
|
ip = None
|
||||||
while attach_tries > 0:
|
while attach_tries > 0:
|
||||||
self._command(self.cmd_dict["attach"])
|
self._command(self.cmd_dict["attach"])
|
||||||
|
attach_timeout += 20
|
||||||
timeout = attach_timeout
|
timeout = attach_timeout
|
||||||
logging.debug("Waiting for IP address to be assigned")
|
logging.debug("Waiting for IP address to be assigned")
|
||||||
ip = self.getIP(silent=False, reportNonZero=True)
|
ip = self.getIP(silent=False, reportNonZero=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user