[MERGED] osmo-ttcn3-hacks[master]: BSC_Tests: Ensure that PCH load indications suppress further...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Dec 13 00:07:01 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: BSC_Tests: Ensure that PCH load indications suppress further paging
......................................................................


BSC_Tests: Ensure that PCH load indications suppress further paging

Change-Id: I1111996e497bc3ef179b57df135975160b4f7a52
---
M bsc/BSC_Tests.ttcn
1 file changed, 25 insertions(+), 2 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index ea8b67e..926e8cc 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -742,8 +742,31 @@
 /* Paging on multiple cells (multiple entries in list): Verify all of them page */
 /* Verify paging retransmission interval + count */
 /* Verify paging stops after channel establishment */
-/* Verify PCH load */
 /* Test behavior under paging overload */
+
+/* Verify PCH load */
+testcase TC_paging_imsi_load() runs on test_CT {
+	var BSSMAP_FIELD_CellIdentificationList cid_list;
+	timer T := 4.0;
+	cid_list := valueof(ts_BSSMAP_CIL_noCell);
+	f_pageing_helper('001010123456789'H, cid_list);
+
+	/* tell BSC there is no paging space anymore */
+	f_ipa_tx(0, ts_RSL_PAGING_LOAD_IND(0));
+
+	/* Wait for 4 seconds if any more PAGING CMD are received on RSL. Normally,
+	 * there would be 8 retransmissions during 4 seconds */
+	T.start;
+	alt {
+	[] IPA_RSL[0].receive(tr_ASP_RSL_UD(IPAC_PROTO_RSL_TRX0, tr_RSL_PAGING_CMD(?))) {
+		setverdict(fail, "Received PAGING after LOAD_IND(0)");
+		self.stop;
+		}
+	[] T.timeout {
+		setverdict(pass);
+		}
+	}
+}
 
 /* Verify paging stops after A-RESET */
 testcase TC_paging_imsi_a_reset() runs on test_CT {
@@ -802,7 +825,7 @@
 	execute( TC_paging_imsi_nochan_lac() );
 	execute( TC_paging_imsi_nochan_all() );
 	execute( TC_paging_imsi_a_reset() );
-
+	execute( TC_paging_imsi_load() );
 }
 
 }

-- 
To view, visit https://gerrit.osmocom.org/5302
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1111996e497bc3ef179b57df135975160b4f7a52
Gerrit-PatchSet: 6
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list