BSC_Tests: Ensure that PCH load indications suppress further paging
Change-Id: I1111996e497bc3ef179b57df135975160b4f7a52
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,9 +742,32 @@
/* 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 {
var BSSMAP_FIELD_CellIdentificationList cid_list;
@@ -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() );
}
}