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/.
srs_andre gerrit-no-reply at lists.osmocom.orgsrs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18789 ) Change subject: epc: add method to call process on EPC in a non-blocking fashion ...................................................................... epc: add method to call process on EPC in a non-blocking fashion this allows to send mt pings from the EPC while doing other stuff in the background, controlling the rfemu for example Change-Id: Ia6372e55a8829f722e40db537d9dfd63a94d1be9 --- M src/osmo_gsm_tester/obj/epc.py 1 file changed, 11 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/89/18789/1 diff --git a/src/osmo_gsm_tester/obj/epc.py b/src/osmo_gsm_tester/obj/epc.py index dfeba74..4681d5f 100644 --- a/src/osmo_gsm_tester/obj/epc.py +++ b/src/osmo_gsm_tester/obj/epc.py @@ -76,15 +76,23 @@ return epc_class(testenv, run_node) - def run_wait(self, name, popen_args): - ''' Execute process on EPC node, useful for MT traffic ''' + def run_wait(self, name, popen_args, sync=True): + ''' Execute process on EPC node, useful for MT traffic, blocking version ''' if self._run_node.is_local(): proc = process.Process(name, self.run_dir, popen_args) else: proc = self.rem_host.RemoteProcess(name, popen_args) - proc.launch_sync() + + if sync: + proc.launch_sync() + else: + proc.launch() return proc + def run_async(self, name, popen_args): + ''' Execute process in a non-blocking fashion ''' + return self.run_wait(name, popen_args, sync=False) + ################### # PUBLIC (test API included) ################### -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/18789 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: Ia6372e55a8829f722e40db537d9dfd63a94d1be9 Gerrit-Change-Number: 18789 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200612/9298f2a5/attachment.htm>