pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/32193 )
Change subject: bts: oml: Start OML IPA_Emulation component as alive-type ......................................................................
bts: oml: Start OML IPA_Emulation component as alive-type
This will hopefully help fix sporadic errors while tearing down the test after successful run: mtc BTS_Tests_OML.ttcn:625 Removing unterminated connection between port IPA_OSMO_PCU and TC_ts_opstart-OML-IPA(15):IPA_OSMO_PCU_PORT. IPA_Emulation.ttcnpp:774 setverdict(error): none -> error
Related: OS#5965 Change-Id: I53c065016e88a5b253eff496560fa6e371fe491b --- M bts/BTS_Tests_OML.ttcn 1 file changed, 16 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
diff --git a/bts/BTS_Tests_OML.ttcn b/bts/BTS_Tests_OML.ttcn index b76a0ac..ac66c02 100644 --- a/bts/BTS_Tests_OML.ttcn +++ b/bts/BTS_Tests_OML.ttcn @@ -114,7 +114,7 @@ }
function f_init_oml(charstring id) runs on BSC_OML_CT { - vc_IPA_OML := IPA_Emulation_CT.create(id & "-OML-IPA"); + vc_IPA_OML := IPA_Emulation_CT.create(id & "-OML-IPA") alive; map(vc_IPA_OML:IPA_PORT, system:IPA_CODEC_PT); connect(vc_IPA_OML:IPA_OML_PORT, self:OML); connect(vc_IPA_OML:IPA_OSMO_PCU_PORT, self:IPA_OSMO_PCU);