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
This commit is contained in:
parent
51abfbc47c
commit
315e471bee
|
@ -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)),
|
||||
|
|
Loading…
Reference in New Issue