From d6e4e49fcb6e9b3cd49040fe0244b21672e84361 Mon Sep 17 00:00:00 2001 From: Reem Bahsoun Date: Thu, 27 Nov 2025 15:34:45 +0100 Subject: [PATCH] Reduce the time given to the UE to re-attach after failure Number of tries is reduced from 4 to 3 After each failure the timeout is incremented by 20 --- ci-scripts/cls_module.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci-scripts/cls_module.py b/ci-scripts/cls_module.py index cfdd96477f..17d45828c8 100644 --- a/ci-scripts/cls_module.py +++ b/ci-scripts/cls_module.py @@ -111,10 +111,11 @@ class Module_UE: return self._collectTrace(ctx) return None - def attach(self, attach_tries = 4, attach_timeout = 60): + def attach(self, attach_tries = 3, attach_timeout = 0): ip = None while attach_tries > 0: self._command(self.cmd_dict["attach"]) + attach_timeout += 20 timeout = attach_timeout logging.debug("Waiting for IP address to be assigned") ip = self.getIP(silent=False, reportNonZero=True)