Change in osmo-gsm-tester[master]: add handover_2G suite, with handover.py test

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 gerrit-no-reply at lists.osmocom.org
Sun Dec 6 22:17:31 UTC 2020


neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523 )

Change subject: add handover_2G suite, with handover.py test
......................................................................


Patch Set 2:

(3 comments)

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/handover-suites.conf 
File sysmocom/handover-suites.conf:

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/handover-suites.conf@1 
PS2, Line 1: - handover_2G:nanobts+bts1-oc2g
> Why not adding it to the defaults-suites. […]
happening in another commit


https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py 
File sysmocom/suites/handover_2G/handover.py:

https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py@91 
PS2, Line 91: with bsc.ctrl() as bsc_ctrl:
> so basically you keep the object until the end of the test. […]
the entire point of 'with' is that the CTRL socket is also closed again when the test is done, whatever the reason. Otherwise we may end up leaking open sockets en masse.

What other way would you suggest?


https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py@118 
PS2, Line 118:             wait_no_raise(counters.changed, timeout=20)
> try: wait() except: pass […]
i think at first i just wanted some supplementary info of the counters and not fail on them if they didn't change, but wait() is sufficient indeed.



-- 
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523
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: I0b2671304165a1aaae2b386af46fbd8b098e3bd8
Gerrit-Change-Number: 21523
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Sun, 06 Dec 2020 22:17:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201206/456b05b1/attachment.htm>


More information about the gerrit-log mailing list