pespin submitted this change.

View Change


Approvals: Jenkins Builder: Verified fixeria: Looks good to me, approved
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(-)

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

To view, visit change 32193. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I53c065016e88a5b253eff496560fa6e371fe491b
Gerrit-Change-Number: 32193
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged