From 89ab1914e4746434878ac183dfe46d3de096a071 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 23 Feb 2018 18:56:29 +0100 Subject: [PATCH] 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 --- bsc/BSC_Tests.ttcn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn index 347380a6b..52ecc1eb1 100644 --- a/bsc/BSC_Tests.ttcn +++ b/bsc/BSC_Tests.ttcn @@ -63,6 +63,8 @@ type record BTS_State { 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 @@ runs on test_CT { 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);