bsc CBSP: fix TC_cbsp_write_lai

bts 2 matches the described scenario, not bts 0.

Change-Id: If8408df207176704db0d0ce9d75ae13d500d31ae
This commit is contained in:
Neels Hofmeyr 2020-07-31 16:56:02 +02:00 committed by laforge
parent 4e63a01c6e
commit f514848769
1 changed files with 6 additions and 2 deletions

View File

@ -501,11 +501,15 @@ testcase TC_cbsp_write_ci() runs on cbsp_test_CT {
testcase TC_cbsp_write_lai() runs on cbsp_test_CT {
var CBSP_IEs pages := {f_gen_page()};
var template (value) BSSMAP_FIELD_CellIdentificationList cell_list;
cell_list := ts_BSSMAP_CIL_LAI({bssmap_lai(mp_cgi_bts0)});
/* bts0 and bts1 have the same LAI (only differ in cell identity).
* bts2 and bts3 also have the same LAI, but only bts2 has a CBCH.
* Target only bts2.
*/
cell_list := ts_BSSMAP_CIL_LAI({bssmap_lai(mp_cgi_bts2)});
f_cbsp_init_server(7001, 7501);
f_cbsp_write(g_cbsp_msg_id, g_cbsp_ser_no, cell_list, content:=pages,
success_list:=?, fail_list:=omit);
IPA_RSL[0].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
IPA_RSL[2].receive(tr_ASP_RSL_UD(f_page2rsl(pages[0], g_cbsp_msg_id, g_cbsp_ser_no)));
f_sleep(5.0);
}