Change in osmo-ttcn3-hacks[master]: pcu: add test TC_paging_pch_timeout

laforge gerrit-no-reply at lists.osmocom.org
Sun Aug 15 17:21:50 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25160 )

Change subject: pcu: add test TC_paging_pch_timeout
......................................................................

pcu: add test TC_paging_pch_timeout

Related: SYS#4878
Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672
---
M pcu/PCU_Tests.ttcn
1 file changed, 25 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, but someone else must approve
  daniel: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/pcu/PCU_Tests.ttcn b/pcu/PCU_Tests.ttcn
index f77c4c1..ada9ae3 100644
--- a/pcu/PCU_Tests.ttcn
+++ b/pcu/PCU_Tests.ttcn
@@ -3241,6 +3241,28 @@
 	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 @@
 	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() );

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25160
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672
Gerrit-Change-Number: 25160
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210815/5f688aba/attachment.htm>


More information about the gerrit-log mailing list