[MERGED] osmo-ttcn3-hacks[master]: bsc: fix TC_paging_imsi_a_reset

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Feb 23 18:10:47 UTC 2018

Harald Welte has submitted this change and it was merged.

Change subject: bsc: fix TC_paging_imsi_a_reset

bsc: fix TC_paging_imsi_a_reset

The testcase TC_paging_imsi_a_reset sends a paging request that
causes pagings on all cells. Then it performs a BSSMAP reset and
checks if the paging has stopped. In order to be sure that paging
requests from before the reset procedure are not mistakenly
detected as after-reset-pagings the RSL queue is cleared. However
this is only done for IPA_RSL[0], which means IPA_RSL[1] and
IPA_RSL[2] still contain old paging requests, which lets the test

- Clear IPA_RSL[1] and IPA_RSL[2] as well.

Change-Id: If0cdc0325fd0e1dcf3e4ce52e4de27adb4d9cf48
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 1 deletion(-)

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

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 52ecc1e..d94faad 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -1201,7 +1201,9 @@
 	/* Clear the queue, it might still contain stuff like BCCH FILLING */
-	IPA_RSL[0].clear;
+	for (var integer i := 0; i < sizeof(IPA_RSL); i := i+1) {
+		IPA_RSL[i].clear;
+	}
 	/* Wait for 3 seconds if any more PAGING CMD are received on RSL */

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

Gerrit-MessageType: merged
Gerrit-Change-Id: If0cdc0325fd0e1dcf3e4ce52e4de27adb4d9cf48
Gerrit-PatchSet: 3
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier at sysmocom.de>

More information about the gerrit-log mailing list