GBProxy_Tests: fix TC_rim_info_pcu2pcu
The testcase TC_rim_info_pcu2pcu calls a function f_TC_rim_info_pcu2pcu() which doesn't use the templates from Osmocom_Gb_Types.ttcn as intended. This eventually lets the altstep in f_rim_pcu2pcu() run into a timeout since the templates never match. Change-Id: I281dc53bb5dd7be86edc9db185618252ff1b9a21 Related: SYS#5103
This commit is contained in:
parent
9fda2145e0
commit
1bd60ce2b8
|
@ -3122,22 +3122,34 @@ runs on GlobalTest_CT
|
||||||
{
|
{
|
||||||
var BssgpCellId cell_id_src := g_pcu[src_pcu_idx].cfg.bvc[src_bvc_idx].cell_id;
|
var BssgpCellId cell_id_src := g_pcu[src_pcu_idx].cfg.bvc[src_bvc_idx].cell_id;
|
||||||
var BssgpCellId cell_id_dst := g_pcu[dst_pcu_idx].cfg.bvc[dst_bvc_idx].cell_id;
|
var BssgpCellId cell_id_dst := g_pcu[dst_pcu_idx].cfg.bvc[dst_bvc_idx].cell_id;
|
||||||
var template (value) RIM_Routing_Information ri_pcu_src;
|
var template (value) RIM_Routing_Information ri_pcu_src_tx;
|
||||||
var template (value) RIM_Routing_Information ri_pcu_dst;
|
var template (value) RIM_Routing_Information ri_pcu_dst_tx;
|
||||||
var template (value) RAN_Information_RIM_Container cont;
|
var template RIM_Routing_Information ri_pcu_src_rx;
|
||||||
|
var template RIM_Routing_Information ri_pcu_dst_rx;
|
||||||
|
var template (value) RAN_Information_RIM_Container cont_tx;
|
||||||
|
var template RAN_Information_RIM_Container cont_rx;
|
||||||
|
|
||||||
log("Testing RIM PCU2PCU from PCU[", src_pcu_idx, "][", src_bvc_idx, "] to PCU[",
|
log("Testing RIM PCU2PCU from PCU[", src_pcu_idx, "][", src_bvc_idx, "] to PCU[",
|
||||||
dst_pcu_idx, "][", dst_bvc_idx, "]");
|
dst_pcu_idx, "][", dst_bvc_idx, "]");
|
||||||
|
|
||||||
ri_pcu_src := ts_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
ri_pcu_src_tx := ts_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
||||||
t_RIM_Routing_Address_cid(cell_id_src));
|
t_RIM_Routing_Address_cid(cell_id_src));
|
||||||
ri_pcu_dst := ts_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
ri_pcu_dst_tx := ts_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
||||||
t_RIM_Routing_Address_cid(cell_id_dst));
|
t_RIM_Routing_Address_cid(cell_id_dst));
|
||||||
cont := ts_RAN_Information_RIM_Container(ts_RIM_Application_Identity(RIM_APP_ID_NACC),
|
ri_pcu_src_rx := tr_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
||||||
ts_RIM_Sequence_Number(0),
|
t_RIM_Routing_Address_cid(cell_id_src));
|
||||||
ts_RIM_PDU_Indications(false, RIM_PDU_TYPE_STOP));
|
ri_pcu_dst_rx := tr_RIM_Routing_Information(RIM_ADDR_GERAN_CELL_ID,
|
||||||
f_rim_pcu2pcu(ts_PDU_BSSGP_RAN_INFORMATION(dst := ri_pcu_dst, src := ri_pcu_src, cont := cont),
|
t_RIM_Routing_Address_cid(cell_id_dst));
|
||||||
tr_PDU_BSSGP_RAN_INFORMATION(dst := ri_pcu_dst, src := ri_pcu_src, cont := cont),
|
|
||||||
|
cont_tx := ts_RAN_Information_RIM_Container(ts_RIM_Application_Identity(RIM_APP_ID_NACC),
|
||||||
|
ts_RIM_Sequence_Number(0),
|
||||||
|
ts_RIM_PDU_Indications(false, RIM_PDU_TYPE_STOP));
|
||||||
|
cont_rx := tr_RAN_Information_RIM_Container(tr_RIM_Application_Identity(RIM_APP_ID_NACC),
|
||||||
|
tr_RIM_Sequence_Number(0),
|
||||||
|
tr_RIM_PDU_Indications(false, RIM_PDU_TYPE_STOP));
|
||||||
|
|
||||||
|
f_rim_pcu2pcu(ts_PDU_BSSGP_RAN_INFORMATION(dst := ri_pcu_dst_tx, src := ri_pcu_src_tx, cont := cont_tx),
|
||||||
|
tr_PDU_BSSGP_RAN_INFORMATION(dst := ri_pcu_dst_rx, src := ri_pcu_src_rx, cont := cont_rx),
|
||||||
src_pcu_idx, dst_pcu_idx);
|
src_pcu_idx, dst_pcu_idx);
|
||||||
}
|
}
|
||||||
testcase TC_rim_info_pcu2pcu() runs on GlobalTest_CT
|
testcase TC_rim_info_pcu2pcu() runs on GlobalTest_CT
|
||||||
|
|
Loading…
Reference in New Issue