Change in osmo-gsm-tester[master]: event_loop: Log parameters during wait timeout exception

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

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Mon May 28 10:46:47 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/9348


Change subject: event_loop: Log parameters during wait timeout exception
......................................................................

event_loop: Log parameters during wait timeout exception

Change-Id: I1cf104392bfd11ad263264738eb4d8fa60550a5d
---
M src/osmo_gsm_tester/event_loop.py
1 file changed, 1 insertion(+), 1 deletion(-)



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

diff --git a/src/osmo_gsm_tester/event_loop.py b/src/osmo_gsm_tester/event_loop.py
index 64a110d..0fe0940 100644
--- a/src/osmo_gsm_tester/event_loop.py
+++ b/src/osmo_gsm_tester/event_loop.py
@@ -109,7 +109,7 @@
     def wait(self, log_obj, condition, *condition_args, timeout=300, timestep=1, **condition_kwargs):
         if not self.wait_no_raise(log_obj, condition, condition_args, condition_kwargs, timeout, timestep):
             log.ctx(log_obj)
-            raise log.Error('Wait timeout')
+            raise log.Error('Wait timeout', condition=condition, timeout=timeout, timestemp=timestep)
 
     def sleep(self, log_obj, seconds):
         assert seconds > 0.

-- 
To view, visit https://gerrit.osmocom.org/9348
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1cf104392bfd11ad263264738eb4d8fa60550a5d
Gerrit-Change-Number: 9348
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180528/88590633/attachment.htm>


More information about the gerrit-log mailing list