Change in osmo-gsm-tester[master]: AndroidUE: Fix connection timeout

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Mar 16 17:11:09 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23350 )

Change subject: AndroidUE: Fix connection timeout
......................................................................

AndroidUE: Fix connection timeout

Change-Id: Iaacf348e2e018da5b67ada33079018c1859d3b63
---
M src/osmo_gsm_tester/obj/ms_android.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/src/osmo_gsm_tester/obj/ms_android.py b/src/osmo_gsm_tester/obj/ms_android.py
index 0f4a05d..276938b 100644
--- a/src/osmo_gsm_tester/obj/ms_android.py
+++ b/src/osmo_gsm_tester/obj/ms_android.py
@@ -207,7 +207,7 @@
             MainLoop.sleep(2)
             timer -= 2
 
-        if timer == 0:
+        if timer <= 0:
             raise log.Error('Connection timer of Android UE %s expired' % self._run_node.adb_serial_id())
 
         self.brate_mon = BitRateMonitor(self.testenv, self.run_dir, self._run_node, self.rem_host, self.data_interface)

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/23350
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: Iaacf348e2e018da5b67ada33079018c1859d3b63
Gerrit-Change-Number: 23350
Gerrit-PatchSet: 6
Gerrit-Owner: ninjab3s <nils.fuerste at softwareradiosystems.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: srs_andre <andre at softwareradiosystems.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210316/d08dbb29/attachment.htm>


More information about the gerrit-log mailing list