<p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523">View Change</a></p><p>4 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/src/osmo_gsm_tester/testenv.py">File src/osmo_gsm_tester/testenv.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/src/osmo_gsm_tester/testenv.py@34">Patch Set #2, Line 34:</a> <code style="font-family:monospace,monospace">test = None</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">This looks like a separate commit.</p><p style="white-space: pre-wrap; word-wrap: break-word;">BTW, my intention was to probably drop test global object, so I'd rather remove it from setup() and use tenv.test() from the test.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/handover-suites.conf">File sysmocom/handover-suites.conf:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/handover-suites.conf@1">Patch Set #2, Line 1:</a> <code style="font-family:monospace,monospace">- handover_2G:nanobts+bts1-oc2g</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Why not adding it to the defaults-suites.conf instead/too?</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py">File sysmocom/suites/handover_2G/handover.py:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py@91">Patch Set #2, Line 91:</a> <code style="font-family:monospace,monospace">with bsc.ctrl() as bsc_ctrl:</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">so basically you keep the object until the end of the test. So IIUC there's no win in having "with" used here and you get everything indented instead.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523/2/sysmocom/suites/handover_2G/handover.py@118">Patch Set #2, Line 118:</a> <code style="font-family:monospace,monospace">            wait_no_raise(counters.changed, timeout=20)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">try: wait() except: pass</p><p style="white-space: pre-wrap; word-wrap: break-word;">BTW why don't you let the exception do its stuff directly and exit the test? I don't really see the the point for all this.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523">change 21523</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-gsm-tester/+/21523"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-gsm-tester </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0b2671304165a1aaae2b386af46fbd8b098e3bd8 </div>
<div style="display:none"> Gerrit-Change-Number: 21523 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 04 Dec 2020 18:54:56 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>