<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23656">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pcu: SNS: TC_sns_so_bvc_reset_unknown_bvci: use g_handle_rx_alive<br><br>The g_handle_rx_alive allows ignoring any ALIVE PDUs when<br>using f_exp_ns().<br>This improves the stability as the ALIVE and BVC-RESET<br>can come in any order.<br><br>Change-Id: I3b4ab4093b3e5bee7e32fdf6c1de3f692b13a35f<br>---<br>M pcu/PCU_Tests_SNS.ttcn<br>1 file changed, 1 insertion(+), 4 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/56/23656/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pcu/PCU_Tests_SNS.ttcn b/pcu/PCU_Tests_SNS.ttcn</span><br><span>index 20ab608..b6a1790 100644</span><br><span>--- a/pcu/PCU_Tests_SNS.ttcn</span><br><span>+++ b/pcu/PCU_Tests_SNS.ttcn</span><br><span>@@ -267,16 +267,13 @@</span><br><span>  * PCU  -> SGSN: BVCI 24 BSSGP-STATUS Unknown BVCI</span><br><span>  */</span><br><span> testcase TC_sns_so_bvc_reset_unknown_bvci() runs on RAW_Test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+    g_handle_rx_alive := true;</span><br><span>   f_init_ns_codec(mp_nsconfig);</span><br><span>        f_init_pcuif();</span><br><span>      f_incoming_sns_size();</span><br><span>       f_incoming_sns_config();</span><br><span>     f_outgoing_sns_config();</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    /* wait for one ALIVE cycle, then ACK any further ALIVE in the background */</span><br><span style="color: hsl(0, 100%, 40%);">-    as_rx_alive_tx_ack(oneshot := true);</span><br><span style="color: hsl(0, 100%, 40%);">-    activate(as_rx_alive_tx_ack());</span><br><span style="color: hsl(0, 100%, 40%);">-</span><br><span>      /* Expect BVC-RESET, but ignore it to prevent a race condition of BVC RESETs */</span><br><span>      var template PDU_NS pdu := tr_NS_UNITDATA(t_SduCtrlB, 0, decmatch tr_BVC_RESET(?, 0, omit));</span><br><span>         f_ns_exp(pdu, idx := 0);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/23656">change 23656</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-ttcn3-hacks/+/23656"/><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-Change-Id: I3b4ab4093b3e5bee7e32fdf6c1de3f692b13a35f </div>
<div style="display:none"> Gerrit-Change-Number: 23656 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>