<p>Vadim Yanitskiy has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11227">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BTS_Tests.ttcn: fix: expect RSL_MEAS_RES messages<br><br>Since both Calypso PHY and trxcon (since OS#2988 is fixed) are<br>always sending the Measurement Reports in dedicated mode, the<br>test cases should expect to 'see' the RSL_MEAS_RES messages,<br>and ignore them if they are out of the testing scope.<br><br>This change makes the following test cases pass:<br><br>  - TC_rll_est_ind,<br>  - TC_rll_rel_ind_DCCH_0,<br>  - TC_rll_rel_ind_DCCH_3,<br>  - TC_rll_rel_ind_ACCH_0,<br>  - TC_rll_rel_ind_ACCH_3,<br><br>by adding the 'lazy' version of as_meas_res() alt-step.<br><br>Change-Id: I34227b981f76377c338fad4ff9560ba2042abce4<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 4 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/27/11227/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn</span><br><span>index f89025f..61fe1a7 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -3396,6 +3396,8 @@</span><br><span>                         mtc.stop;</span><br><span>            }</span><br><span>            }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* We also expect to receive the measurements */</span><br><span style="color: hsl(120, 100%, 40%);">+      [] as_meas_res(verify_meas := false);</span><br><span>        [tc.exp] T.timeout {</span><br><span>                 setverdict(fail, "Timeout waiting for EST IND");</span><br><span>           mtc.stop;</span><br><span>@@ -3560,6 +3562,8 @@</span><br><span>    [] RSL.receive(tr_RSL_REL_IND(g_chan_nr, tc.link_id)) {</span><br><span>              setverdict(pass);</span><br><span>            }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* We also expect to receive the measurements */</span><br><span style="color: hsl(120, 100%, 40%);">+      [] as_meas_res(verify_meas := false);</span><br><span>        }</span><br><span> </span><br><span>        /* release the channel */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11227">change 11227</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/11227"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I34227b981f76377c338fad4ff9560ba2042abce4 </div>
<div style="display:none"> Gerrit-Change-Number: 11227 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>