<p>laforge has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19715">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc: Make TC_lu_and_mo_call_sccp_tiar_timeout() more reliable<br><br>There is a race condition when shutting down, as a DLCX might arrive<br>while we are half-shutdown.  Expect both DLCX before terminating<br>the ConnHdlr.<br><br>Change-Id: Ia0342a9bb346929e0e538f4cb571abfc4acac6bf<br>---<br>M msc/MSC_Tests.ttcn<br>1 file changed, 4 insertions(+), 1 deletion(-)<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/15/19715/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/msc/MSC_Tests.ttcn b/msc/MSC_Tests.ttcn</span><br><span>index d668616..a2c3847 100644</span><br><span>--- a/msc/MSC_Tests.ttcn</span><br><span>+++ b/msc/MSC_Tests.ttcn</span><br><span>@@ -702,12 +702,15 @@</span><br><span>                            T_wait_iar.stop</span><br><span>                              setverdict(pass);</span><br><span>            }</span><br><span style="color: hsl(0, 100%, 40%);">-       [] MGCP.receive(tr_DLCX(?)) { repeat; }</span><br><span>      [] T_wait_iar.timeout {</span><br><span>              setverdict(fail, "Timeout waiting for T(iar) triggered SCCP RSLD");</span><br><span>                mtc.stop;</span><br><span>            }</span><br><span>    }</span><br><span style="color: hsl(120, 100%, 40%);">+     /* DLCX for both directions; if we don't do this, we might receive either of the two during</span><br><span style="color: hsl(120, 100%, 40%);">+        * shutdown causing race conditions */</span><br><span style="color: hsl(120, 100%, 40%);">+        MGCP.receive(tr_DLCX(?));</span><br><span style="color: hsl(120, 100%, 40%);">+     MGCP.receive(tr_DLCX(?));</span><br><span> </span><br><span>        setverdict(pass);</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19715">change 19715</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/+/19715"/><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: Ia0342a9bb346929e0e538f4cb571abfc4acac6bf </div>
<div style="display:none"> Gerrit-Change-Number: 19715 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>