aboutsummaryrefslogtreecommitdiffstats
path: root/bts
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-11-01 16:27:07 +0100
committerHarald Welte <laforge@gnumonks.org>2018-11-06 21:47:36 +0000
commit315e471bee3af9b2d324e353066ab1b70ee214e2 (patch)
tree068d2af231ed2f1304dafab1037a8b32cd8d0f16 /bts
parent51abfbc47ca75c6d94e7a10911dd2f84f68ffa1b (diff)
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
Diffstat (limited to 'bts')
-rw-r--r--bts/BTS_Tests.ttcn4
1 files changed, 3 insertions, 1 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 64c25104..cde9562b 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -63,6 +63,8 @@ modulepar {
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 @@ private function f_init_pcu(PCUIF_CODEC_PT pt, charstring id,
/* 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)),