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
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);