gbproxy: Fix cs paging tests
In commit 2c9300fd28 I only changed the TC_paging_ps_* tests and forgot
cs.
Change-Id: I625e0a0f01eaa951c7d91f8ced3edf0cac91bf74
Related: SYS#5226
diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn
index 31cb465..4f79a90 100644
--- a/gbproxy/GBProxy_Tests.ttcn
+++ b/gbproxy/GBProxy_Tests.ttcn
@@ -1815,8 +1815,13 @@
/* CS-PAGING on SIG-BVC for Location Area */
private function f_TC_paging_cs_sig_lac(charstring id) runs on BSSGP_ConnHdlr
{
- /* Both PCU index 0 and 1 have a BVC within the LAC */
- f_send_paging_cs_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[0].cell_id.ra_id.lai), 0, {0, 1});
+ /* The first LAC (13135) is shared by all three NSEs */
+ f_send_paging_cs_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[0].cell_id.ra_id.lai), 0, {0, 1, 2});
+ /* Reset state */
+ g_roi := {};
+ /* Make LAC (13300) available on pcu index 2 */
+ f_connect_to_pcu_bvc(port_idx := 2, nse_idx := 2, bvc_idx := 1);
+ f_send_paging_cs_exp_multi(ts_BssgpP4LAC(pcu_bvc_cfg[2].cell_id.ra_id.lai), 0, {2});
}
testcase TC_paging_cs_sig_lac() runs on test_CT {
var BSSGP_ConnHdlr vc_conn;
@@ -1850,8 +1855,15 @@
/* CS-PAGING on SIG-BVC for Routeing Area */
private function f_TC_paging_cs_sig_rac(charstring id) runs on BSSGP_ConnHdlr
{
- /* Only PCU index 0 has a matching BVC within the LAC */
+ /* Only PCU index 0 has a matching BVC with the RA ID */
f_send_paging_cs_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[0].cell_id.ra_id), 0, {0});
+ g_roi := {};
+ /* PCU index 1 and 2 have a matching BVC with the RA ID */
+ f_send_paging_cs_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), 0, {1, 2});
+ g_roi := {};
+ /* PCU index 2 has two matching BVCs with the RA ID */
+ f_connect_to_pcu_bvc(port_idx := 2, nse_idx := 2, bvc_idx := 1);
+ f_send_paging_cs_exp_multi(ts_BssgpP4RAC(pcu_bvc_cfg[2].cell_id.ra_id), 0, {2});
}
testcase TC_paging_cs_sig_rac() runs on test_CT {
var BSSGP_ConnHdlr vc_conn;