Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11568 )

Change subject: bts: Introduce mp_ipa_up_timeout parameter
......................................................................

bts: Introduce mp_ipa_up_timeout parameter

Some test env may take more than 10 seconds to (re-)start a BTS, so
let's make it variable through this parameter.
For instance it was observed that running osmo-bts-sysmo through ssh
inside a sysmobts can sometimes take a good number of seconds (specially
because ssh connection can take a while to be established successfully).

Change-Id: Ieb046358d8266ac94bd7b9e916e85f84de3ad319
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  daniel: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 64c2510..cde9562 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -63,6 +63,8 @@
        integer mp_ms_power_level_exp := 7;
        integer mp_ms_actual_ta_exp := 0;
        integer mp_timing_offset_256syms_exp := 512;
+       /* Time to wait for RSL conn from BTS during startup of test */
+       float mp_ipa_up_timeout := 10.0;
 }

 type record of RslChannelNr ChannelNrs;
@@ -296,7 +298,7 @@

 /* global init function */
 function f_init(charstring id := "BTS-Test") runs on test_CT {
-       timer T := 10.0;
+       timer T := mp_ipa_up_timeout;
        g_AllChannels := {
                /* TS 1..4: TCH/F */
                valueof(ts_RslChanNr_Bm(1)), valueof(ts_RslChanNr_Bm(2)),

--
To view, visit https://gerrit.osmocom.org/11568
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ieb046358d8266ac94bd7b9e916e85f84de3ad319
Gerrit-Change-Number: 11568
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: daniel <dwillm...@sysmocom.de>

Reply via email to