pcu: add test TC_paging_pch_timeout

Related: SYS#4878
Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672
This commit is contained in:
Oliver Smith 2021-07-28 13:36:09 +02:00 committed by laforge
parent fbd3931051
commit e1a77c4c59
1 changed files with 25 additions and 0 deletions

View File

@ -3241,6 +3241,28 @@ testcase TC_paging_ps_from_sgsn_ptp() runs on RAW_PCU_Test_CT {
f_shutdown(__BFILE__, __LINE__, final := true);
}
testcase TC_paging_pch_timeout() runs on RAW_PCU_Test_CT {
/* Initialize the PCU interface abstraction */
f_init_raw(testcasename());
/* Set T3113 to 1s to shorten the test duration */
f_vty_config2(PCUVTY, {"pcu"}, "timer T3113 1");
/* Reset stats and send paging PS request */
f_tc_paging_ps_from_sgsn(mp_gb_cfg.bvc[0].bvci);
/* Verify that counter increases when T3113 times out (MS did not start
* TBF to respond to paging). */
f_sleep(1.2);
var StatsDExpects expect := {
{ name := "TTCN3.bts.0.pch.requests.timeout", mtype := "c", min := 1, max := 1 }
};
f_statsd_expect(expect);
f_vty_config2(PCUVTY, {"pcu"}, "timer T3113 default");
f_shutdown(__BFILE__, __LINE__, final := true);
}
/* Verify osmo-pcu handles DL UNIT_DATA from SGSN with IMSI IE correctly. See OS#4729 */
testcase TC_bssgp_dl_unitdata_with_valid_imsi() runs on RAW_PCU_Test_CT {
var RlcmacDlBlock dl_block;
@ -5968,6 +5990,9 @@ control {
execute( TC_paging_ps_from_sgsn_sign_ptmsi() );
execute( TC_paging_ps_from_sgsn_sign() );
execute( TC_paging_ps_from_sgsn_ptp() );
if (mp_osmo_pcu_newer_than_0_9_0) {
execute( TC_paging_pch_timeout() );
}
execute( TC_paging_cs_multi_ms_imsi_tmsi() );
execute( TC_paging_cs_multi_ms_imsi() );
execute( TC_paging_cs_multi_ms_tmsi() );