Change in osmo-ttcn3-hacks[master]: bts: Fix TC_rach_load_idle_thresh0()

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/.

laforge gerrit-no-reply at lists.osmocom.org
Mon Oct 12 13:12:27 UTC 2020


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

Change subject: bts: Fix TC_rach_load_idle_thresh0()
......................................................................

bts: Fix TC_rach_load_idle_thresh0()

The first RACH LOAD IND may only cover a fractional reporting
interval, and hence must be ignored.

Change-Id: I43ee8e846803e2ef6218a3e7ac385ed8af30c217
---
M bts/BTS_Tests.ttcn
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 57de013..7c17e03 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -1470,6 +1470,12 @@
 
 	f_init();
 
+	/* Skip the first RACH LOAD IND, as it may not have the full slot count (BTS started less than 1s  before) */
+	alt {
+	[] RSL_CCHAN.receive(tr_ASP_RSL_UD(tr_RSL_RACH_LOAD_IND(?, ?, ?))) { }
+	[] RSL_CCHAN.receive { repeat }
+	}
+
 	timer T := 5.0;
 	T.start;
 	alt {

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20545
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: I43ee8e846803e2ef6218a3e7ac385ed8af30c217
Gerrit-Change-Number: 20545
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Vadim Yanitskiy <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201012/60a69d04/attachment.htm>


More information about the gerrit-log mailing list