<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14379">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts: Check if BTS_TRXC port is mapped before attempting UDP socket connect<br><br>A large number of our tests is currently failing with<br>    BTS_Tests.ttcn:341 Dynamic test case error: IPL4 Test Port not mapped<br>which was introduced by Change-Id Ie7d311bf8f03bf9b1d29b5bb28ffad793f215fd1<br><br>Change-Id: Ia1ef4ac7dcfec137a8613bc49a7f312d81a86153<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 1 insertion(+), 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/79/14379/1</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 e10d967..9371612 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -505,7 +505,7 @@</span><br><span>     map(self:L1CTL, system:L1CTL);</span><br><span>       f_connect_reset(L1CTL);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-     if (mp_bts_trxc_port != -1) {</span><br><span style="color: hsl(120, 100%, 40%);">+ if (mp_bts_trxc_port != -1 and BTS_TRXC.checkstate("Mapped")) {</span><br><span>            f_init_trxc(BTS_TRXC, id, g_bts_trxc_conn_id);</span><br><span>       }</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14379">change 14379</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/+/14379"/><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: Ia1ef4ac7dcfec137a8613bc49a7f312d81a86153 </div>
<div style="display:none"> Gerrit-Change-Number: 14379 </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-MessageType: newchange </div>