PCU_Tests: introduce TC_pcuif_info_ind_subsequent()

This change reproduces a segfault caused by the recent regression [1].
The IUT tries to bind on BSSGP host:port that it's already bound to.

[1] Ib389925cf5c9f18951af6242c31ea70476218e9a

Change-Id: I4c3bc883d795e5d1ee5ab175ac03684924692a7c
Related: SYS#5108
This commit is contained in:
Vadim Yanitskiy 2020-10-09 16:41:02 +07:00 committed by laforge
parent e97e3af203
commit d53fb672c9
1 changed files with 19 additions and 0 deletions

View File

@ -2441,6 +2441,23 @@ testcase TC_pcuif_fh_pkt_ass_dl() runs on RAW_PCU_Test_CT {
f_shutdown(__BFILE__, __LINE__, final := true);
}
/* Check if the IUT handles subsequent INFO.ind messages */
testcase TC_pcuif_info_ind_subsequent() runs on RAW_PCU_Test_CT {
var template PCUIF_info_ind info_ind := ts_PCUIF_INFO_default;
var PCUIF_Message pcu_msg;
/* Initialize the PCU interface abstraction */
f_init_raw(testcasename(), info_ind);
/* Send 16 conseqtive INFO.ind messages and check that the IUT stays alive */
for (var integer i := 0; i < 16; i := i + 1) {
BTS.send(ts_PCUIF_INFO_IND(0, info_ind));
f_pcuif_rx_data_req(pcu_msg);
}
f_shutdown(__BFILE__, __LINE__, final := true);
}
control {
execute( TC_pcuif_suspend() );
execute( TC_ta_ptcch_idle() );
@ -2494,6 +2511,8 @@ control {
execute( TC_pcuif_fh_pkt_ass_ul() );
execute( TC_pcuif_fh_pkt_ass_dl() );
}
execute( TC_pcuif_info_ind_subsequent() );
}