From d4fb73cd1c7d4f56f0fd71e1783db975d91d9c49 Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Mon, 7 Dec 2020 13:57:17 +0100 Subject: [PATCH] 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 --- gbproxy/GBProxy_Tests.ttcn | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/gbproxy/GBProxy_Tests.ttcn b/gbproxy/GBProxy_Tests.ttcn index 31cb4653e..4f79a906c 100644 --- a/gbproxy/GBProxy_Tests.ttcn +++ b/gbproxy/GBProxy_Tests.ttcn @@ -1815,8 +1815,13 @@ testcase TC_paging_cs_sig_bss() runs on test_CT { /* 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 @@ testcase TC_paging_cs_sig_lac_unknown() runs on test_CT { /* 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;