Change in osmo-gsm-tester[master]: bts_oc2g: Fix ready_for_pcu() waiting forever

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
Fri Apr 10 00:25:31 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17771 )


Change subject: bts_oc2g: Fix ready_for_pcu() waiting forever
......................................................................

bts_oc2g: Fix ready_for_pcu() waiting forever

Change-Id: Id33e527591164b87d1e14b7922247b726267ad6e
---
M src/osmo_gsm_tester/bts_oc2g.py
1 file changed, 4 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/71/17771/1

diff --git a/src/osmo_gsm_tester/bts_oc2g.py b/src/osmo_gsm_tester/bts_oc2g.py
index 4292e32..d1f80b7 100644
--- a/src/osmo_gsm_tester/bts_oc2g.py
+++ b/src/osmo_gsm_tester/bts_oc2g.py
@@ -36,6 +36,7 @@
         self.inst = None
         self.remote_inst = None
         self.remote_dir = None
+        self.proc_bts = None
         self.remote_user = 'root'
 
     def _direct_pcu_enabled(self):
@@ -128,7 +129,7 @@
         if self._direct_pcu_enabled():
             args += ('-M',)
 
-        proc = rem_host.RemoteProcess(OsmoBtsOC2G.BTS_OC2G_BIN, args)
-        self.suite_run.remember_to_stop(proc, keepalive)
-        proc.launch()
+        self.proc_bts = rem_host.RemoteProcess(OsmoBtsOC2G.BTS_OC2G_BIN, args)
+        self.suite_run.remember_to_stop(self.proc_bts, keepalive)
+        self.proc_bts.launch()
 # vim: expandtab tabstop=4 shiftwidth=4

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17771
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: Id33e527591164b87d1e14b7922247b726267ad6e
Gerrit-Change-Number: 17771
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200410/3fb3b030/attachment.htm>


More information about the gerrit-log mailing list