<p>daniel <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22048">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  lynxis lazus: Looks good to me, approved
  pespin: Looks good to me, but someone else must approve
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Fix suspend/resume tests<br><br>Ensure that a suspend/resume was sent before sending the *_(N)ACK. In<br>reality these can only happen together and our TLLI cache removes<br>the entries after it sees the corresponding (N)ACK so it will not<br>forward the second message.<br><br>Change-Id: Ie0fd81edb748d3c638e42c4418ca514095c55861<br>Related: SYS#4865, OS#4472<br>---<br>M gbproxy/GBProxy_Tests.ttcn<br>1 file changed, 12 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn</span><br><span>index 59154e8..475b647 100644</span><br><span>--- a/gbproxy/GBProxy_Tests.ttcn</span><br><span>+++ b/gbproxy/GBProxy_Tests.ttcn</span><br><span>@@ -1024,6 +1024,12 @@</span><br><span> </span><br><span>             f_global_sgsn2pcu(pdu_tx, pdu_rx);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+                pdu_tx := ts_BSSGP_SUSPEND(tlli, ra_id);</span><br><span style="color: hsl(120, 100%, 40%);">+              /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */</span><br><span style="color: hsl(120, 100%, 40%);">+                pdu_rx := tr_BSSGP_SUSPEND(tlli, ra_id);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+            f_global_pcu2sgsn(pdu_tx, pdu_rx);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>                 /* These messages are simple passed through so just also test sending NACK */</span><br><span>                pdu_tx := ts_BSSGP_SUSPEND_NACK(tlli, ra_id, BSSGP_CAUSE_UNKNOWN_MS);</span><br><span>                /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */</span><br><span>@@ -1060,6 +1066,12 @@</span><br><span> </span><br><span>          f_global_sgsn2pcu(pdu_tx, pdu_rx);</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+                pdu_tx := ts_BSSGP_RESUME(tlli, ra_id, int2oct(i, 1));</span><br><span style="color: hsl(120, 100%, 40%);">+                /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */</span><br><span style="color: hsl(120, 100%, 40%);">+                pdu_rx := tr_BSSGP_RESUME(tlli, ra_id, int2oct(i, 1));</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+              f_global_pcu2sgsn(pdu_tx, pdu_rx);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>                 /* These messages are simple passed through so just also test sending NACK */</span><br><span>                pdu_tx := ts_BSSGP_RESUME_NACK(tlli, ra_id, BSSGP_CAUSE_UNKNOWN_MS);</span><br><span>                 /* we cannot use pdu_tx as there are some subtle differences in the length field :/ */</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/22048">change 22048</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/+/22048"/><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: Ie0fd81edb748d3c638e42c4418ca514095c55861 </div>
<div style="display:none"> Gerrit-Change-Number: 22048 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: daniel <dwillmann@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>