Review at https://gerrit.osmocom.org/6862
BSC: Add CCHAN_PT recently introduced in RSL_Emulation RSL_Emulation has recently gained a port for the common channel management messages, but BSC_Tests was not updated with this port, resulting in RSL_Emulation enqueuing messages to the port which then creates dynamic test case failures. Let's simply connect to the port, even though we currently are not interested in any of the messages received there (mainly RSL_MT_BCCH_INFO during startup). Change-Id: Id8a3c4409599783ca4cd0b49f2570bcb3bb34952 --- M bsc/BSC_Tests.ttcn 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/62/6862/1 diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index cc7294a..d602771 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -63,6 +63,8 @@ type component test_CT extends CTRL_Adapter_CT { /* Array of per-BTS state */ var BTS_State bts[NUM_BTS]; + /* RSL common Channel Port (for RSL_Emulation) */ + port RSL_CCHAN_PT RSL_CCHAN[NUM_BTS]; /* array of per-BTS RSL test ports */ port IPA_RSL_PT IPA_RSL[NUM_BTS]; port IPA_CODEC_PT IPA; /* Required for compilation of TC_rsl_unknown_unit_id() */ @@ -154,6 +156,7 @@ clnt.ccm_pars.unit_id := int2str(1234+i) & "/0/0"; if (handler_mode) { clnt.vc_RSL := RSL_Emulation_CT.create(clnt.id & "-RSL"); + connect(clnt.vc_RSL:CCHAN_PT, self:RSL_CCHAN[i]); } map(clnt.vc_IPA:IPA_PORT, system:IPA_CODEC_PT); -- To view, visit https://gerrit.osmocom.org/6862 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id8a3c4409599783ca4cd0b49f2570bcb3bb34952 Gerrit-PatchSet: 1 Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>