<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19437">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">bsc CBSP: allow passing guard_timeout to BSC_Tests.f_init()<br><br>An upcoming patch adds a test series (of various payload lengths) to<br>TC_cbsp_write_bss(), which then needs a bit longer than 30 seconds to run<br>through those. That test will pass a longer guard_timeout.<br><br>Change-Id: I54e1b3994074f4d0caf5b201588fce0ec41dda89<br>---<br>M bsc/BSC_Tests_CBSP.ttcn<br>1 file changed, 4 insertions(+), 4 deletions(-)<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/37/19437/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/bsc/BSC_Tests_CBSP.ttcn b/bsc/BSC_Tests_CBSP.ttcn</span><br><span>index fd361bb..dd57954 100644</span><br><span>--- a/bsc/BSC_Tests_CBSP.ttcn</span><br><span>+++ b/bsc/BSC_Tests_CBSP.ttcn</span><br><span>@@ -93,8 +93,8 @@</span><br><span>    }</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-private function f_init() runs on cbsp_test_CT {</span><br><span style="color: hsl(0, 100%, 40%);">-      BSC_Tests.f_init();</span><br><span style="color: hsl(120, 100%, 40%);">+private function f_init(float guard_timeout := 30.0) runs on cbsp_test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+      BSC_Tests.f_init(guard_timeout := guard_timeout);</span><br><span>    activate(as_IgnRSL((tr_RSL_BCCH_INFO, tr_RSL_SACCH_FILL,</span><br><span>                         tr_RSL_NO_BCCH_INFO, tr_RSL_NO_SACCH_FILL,</span><br><span>                           tr_RSL_MsgTypeD(?))));</span><br><span>@@ -107,11 +107,11 @@</span><br><span>   setverdict(pass);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-private function f_cbsp_init_server() runs on cbsp_test_CT {</span><br><span style="color: hsl(120, 100%, 40%);">+private function f_cbsp_init_server(float guard_timeout := 30.0) runs on cbsp_test_CT {</span><br><span>      var ASP_Event asp_evt;</span><br><span>       timer T := 10.0;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-    f_init();</span><br><span style="color: hsl(120, 100%, 40%);">+     f_init(guard_timeout := guard_timeout);</span><br><span>      CBSP_Adapter.f_bind(mp_cbc_ip, mp_cbc_port);</span><br><span> </span><br><span>     T.start;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19437">change 19437</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/+/19437"/><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: I54e1b3994074f4d0caf5b201588fce0ec41dda89 </div>
<div style="display:none"> Gerrit-Change-Number: 19437 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>