<p>Pau Espin Pedrol has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/11568">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bts: Introduce mp_ipa_up_timeout parameter<br><br>Some test env may take more than 10 seconds to (re-)start a BTS, so<br>let's make it variable through this parameter.<br>For instance it was observed that running osmo-bts-sysmo through ssh<br>inside a sysmobts can sometimes take a good number of seconds (specially<br>because ssh connection can take a while to be established successfully).<br><br>Change-Id: Ieb046358d8266ac94bd7b9e916e85f84de3ad319<br>---<br>M bts/BTS_Tests.ttcn<br>1 file changed, 3 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/68/11568/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 5b073ef..a333277 100644</span><br><span>--- a/bts/BTS_Tests.ttcn</span><br><span>+++ b/bts/BTS_Tests.ttcn</span><br><span>@@ -63,6 +63,8 @@</span><br><span>   integer mp_ms_power_level_exp := 7;</span><br><span>  integer mp_ms_actual_ta_exp := 0;</span><br><span>    integer mp_timing_offset_256syms_exp := 512;</span><br><span style="color: hsl(120, 100%, 40%);">+  /* Time to wait for RSL conn from BTS during startup of test */</span><br><span style="color: hsl(120, 100%, 40%);">+       float mp_ipa_up_timeout := 10.0;</span><br><span> }</span><br><span> </span><br><span> type record of RslChannelNr ChannelNrs;</span><br><span>@@ -296,7 +298,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(0, 100%, 40%);">-        timer T := 10.0;</span><br><span style="color: hsl(120, 100%, 40%);">+      timer T := mp_ipa_up_timeout;</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></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/11568">change 11568</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/11568"/><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: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ieb046358d8266ac94bd7b9e916e85f84de3ad319 </div>
<div style="display:none"> Gerrit-Change-Number: 11568 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Pau Espin Pedrol <pespin@sysmocom.de> </div>