[PATCH] osmo-gsm-tester[master]: modem: deactive_context: Log when context is successfully de...

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Fri Feb 16 14:04:02 UTC 2018


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

modem: deactive_context: Log when context is successfully deactivated

Change-Id: Ibe40a954aa4548e54b48c444014d7dbd2da9d956
---
M src/osmo_gsm_tester/modem.py
1 file changed, 1 insertion(+), 0 deletions(-)


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

diff --git a/src/osmo_gsm_tester/modem.py b/src/osmo_gsm_tester/modem.py
index 8de3f9f..f0a0b24 100644
--- a/src/osmo_gsm_tester/modem.py
+++ b/src/osmo_gsm_tester/modem.py
@@ -618,6 +618,7 @@
         ctx = systembus_get(ctx_id)
         ctx.SetProperty('Active', Variant('b', False))
         event_loop.wait(self, lambda: ctx.GetProperties()['Active'] == False)
+        self.log('context deactivated', path=ctx_id)
 
     def sms_send(self, to_msisdn_or_modem, *tokens):
         if isinstance(to_msisdn_or_modem, Modem):

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibe40a954aa4548e54b48c444014d7dbd2da9d956
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>


More information about the gerrit-log mailing list