<p><a href="https://gerrit.osmocom.org/10372">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/10372/2/bts/BTS_Tests.ttcn">File bts/BTS_Tests.ttcn:</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/10372/2/bts/BTS_Tests.ttcn@3855">Patch Set #2, Line 3855:</a> <code style="font-family:monospace,monospace">2.5</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">how do you get to this 2.5 seconds?  IMHO, 104*4.6ms = 478ms.  So The 104 frames should expire in half a second.  Your tests wait five times that amount, so if 80% of the frames were lost, it would still pass?  I think rather than relying on wall clock / system time of the test host, it would be best to count in terms of frame numbers received from L1.  This means that from a given start frame number, start receiving until fn+104 is received as frame number, and then count over that interval.  The host-side timeout is merely a guard timer, and it can be 2.5,5,10 or whatever amount of times long.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/10372/2/bts/BTS_Tests.ttcn@3866">Patch Set #2, Line 3866:</a> <code style="font-family:monospace,monospace">t_RslChanNr_Bm(1)</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">I would structure the test in a way that it iterates over all the TCH/F we have.  There are subtle differences in how individual timeslots are handled, so it makes sense to iterater over all of them.  I think some of our other tests already do this.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/10372">change 10372</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/10372"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: Id4e0de6e78b62cd408f600a57a28617d91da64af </div>
<div style="display:none"> Gerrit-Change-Number: 10372 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Stefan Sperling <ssperling@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-CC: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 07 Aug 2018 16:47:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>