<p>laforge <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14440">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bscnat: Fix race condition in TC_ctrl_location<br><br>Change-Id: Ifb5a2a9936fff94511a6bd11bd8e155a3d3e2d82<br>---<br>M bsc-nat/BSC_MS_Simulation.ttcn<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc-nat/BSC_MS_Simulation.ttcn b/bsc-nat/BSC_MS_Simulation.ttcn</span><br><span>index 453f304..0582576 100644</span><br><span>--- a/bsc-nat/BSC_MS_Simulation.ttcn</span><br><span>+++ b/bsc-nat/BSC_MS_Simulation.ttcn</span><br><span>@@ -10,6 +10,7 @@</span><br><span>  * SPDX-License-Identifier: GPL-2.0-or-later</span><br><span>  */</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+import from Osmocom_Types all;</span><br><span> import from IPL4asp_Types all;</span><br><span> </span><br><span> import from IPA_Emulation all;</span><br><span>@@ -83,6 +84,10 @@</span><br><span>     f_ctrl_trap(SCCPLITE_IPA_CTRL, "bts.0.location-state",</span><br><span>                 "1234567,fix3d,0.340000,0.560000,0.780000,operational,unlocked,on,001,01");</span><br><span>    f_ctrl_exp_set(SCCPLITE_IPA_CTRL, "rf_locked", "1", "1");</span><br><span style="color: hsl(120, 100%, 40%);">+       /* Leave some time for SET_REPLY to reach the other side before closing</span><br><span style="color: hsl(120, 100%, 40%);">+          conn towards BSC-NAT, otherwise TCP FIN is sent before SET_REPLY and</span><br><span style="color: hsl(120, 100%, 40%);">+          bsc-nat sends a CTRL ERR to whoever sent the SET cmd. */</span><br><span style="color: hsl(120, 100%, 40%);">+   f_sleep(1.0);</span><br><span> }</span><br><span> </span><br><span> function main(charstring remote_ip, PortNumber remote_port,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14440">change 14440</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/+/14440"/><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: Ifb5a2a9936fff94511a6bd11bd8e155a3d3e2d82 </div>
<div style="display:none"> Gerrit-Change-Number: 14440 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>