<p>Harald Welte <strong>merged</strong> this change.</p><p><a href="https://gerrit.osmocom.org/9436">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BTS_Tests: Don't wait indefinitely for ASP_IPA_EVENT_UP<br><br>Change-Id: I5150660319896fe7f597ca333395923f128c8d87<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 9 insertions(+), 1 deletion(-)<br><br></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 bc3f186..36b1f9d 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -283,6 +283,7 @@</span><br><span> </span><br><span> /* global init function */</span><br><span> function f_init(charstring id := "BTS-Test") runs on test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+      timer T := 10.0;</span><br><span>     g_AllChannels := {</span><br><span>           /* TS 1..4: TCH/F */</span><br><span>                 valueof(ts_RslChanNr_Bm(1)), valueof(ts_RslChanNr_Bm(2)),</span><br><span>@@ -310,7 +311,14 @@</span><br><span>     };</span><br><span> </span><br><span>       f_init_rsl(id);</span><br><span style="color: hsl(0, 100%, 40%);">- RSL_CCHAN.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_UP});</span><br><span style="color: hsl(120, 100%, 40%);">+       T.start;</span><br><span style="color: hsl(120, 100%, 40%);">+      alt {</span><br><span style="color: hsl(120, 100%, 40%);">+ [] RSL_CCHAN.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_UP});</span><br><span style="color: hsl(120, 100%, 40%);">+    [] T.timeout {</span><br><span style="color: hsl(120, 100%, 40%);">+                setverdict(fail, "Timeout waiting for ASP_IPA_EVENT_UP");</span><br><span style="color: hsl(120, 100%, 40%);">+           self.stop;</span><br><span style="color: hsl(120, 100%, 40%);">+            }</span><br><span style="color: hsl(120, 100%, 40%);">+     }</span><br><span>    f_sleep(0.5);   /* workaround for OS#3000 */</span><br><span>         f_init_vty(id);</span><br><span>      f_ipa_ctrl_start(mp_ctrl_ip, mp_ctrl_port);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9436">change 9436</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/9436"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I5150660319896fe7f597ca333395923f128c8d87 </div>
<div style="display:none"> Gerrit-Change-Number: 9436 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>