[PATCH] osmo-gsm-tester[master]: fix osmo-bts-trx: missing patch to use new event_loop

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 29 02:33:25 UTC 2017


Review at  https://gerrit.osmocom.org/2774

fix osmo-bts-trx: missing patch to use new event_loop

Change-Id: I640258d8451aff1633cba7390df5430da50d0b0b
---
M src/osmo_gsm_tester/bts_osmotrx.py
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/src/osmo_gsm_tester/bts_osmotrx.py b/src/osmo_gsm_tester/bts_osmotrx.py
index 5d60074..95d020b 100644
--- a/src/osmo_gsm_tester/bts_osmotrx.py
+++ b/src/osmo_gsm_tester/bts_osmotrx.py
@@ -19,7 +19,7 @@
 
 import os
 import pprint
-from . import log, config, util, template, process
+from . import log, config, util, template, process, event_loop
 
 class OsmoBtsTrx(log.Origin):
     suite_run = None
@@ -63,7 +63,7 @@
 
         self.proc_trx = self.launch_process(OsmoBtsTrx.BIN_TRX, '-x')
         self.log('Waiting for osmo-trx to start up...')
-        self.suite_run.wait(self.trx_ready)
+        event_loop.wait(self, self.trx_ready)
         self.proc_trx.log(self.proc_trx.get_stdout_tail(1))
         self.launch_process(OsmoBtsTrx.BIN_BTS_TRX, '-r', '1',
                             '-c', os.path.abspath(self.config_file),

-- 
To view, visit https://gerrit.osmocom.org/2774
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I640258d8451aff1633cba7390df5430da50d0b0b
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list