Change in osmo-ttcn3-hacks[master]: bsc: Fix random failures in BSC_Tests.TC_early_conn_fail

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
Sat Oct 10 16:47:38 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20533 )


Change subject: bsc: Fix random failures in BSC_Tests.TC_early_conn_fail
......................................................................

bsc: Fix random failures in BSC_Tests.TC_early_conn_fail

We cannot use a random 8bit value as RACH request, as some of that
space actually maps to emergency call RACH, which is rejected unless
we enable it in the config.

Change-Id: Ie073fe721022c392278e8632ab52122b4b89cbe1
---
M bsc/BSC_Tests.ttcn
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/33/20533/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index b141a0a..9109933 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -1626,7 +1626,7 @@
 	f_init(1);
 
 	/* BTS->BSC: Send CHAN RQD and wait for allocation; acknowledge it */
-	dt.rsl_chan_nr := f_chreq_act_ack(f_rnd_octstring(1), 23);
+	dt.rsl_chan_nr := f_chreq_act_ack(f_rnd_ra_cs(), 23);
 
 	/* BTS->BSC: simulate CONN FAIL IND */
 	f_ipa_tx(0, ts_RSL_CONN_FAIL_IND(dt.rsl_chan_nr, RSL_ERR_RADIO_LINK_FAIL));

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20533
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: Ie073fe721022c392278e8632ab52122b4b89cbe1
Gerrit-Change-Number: 20533
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201010/99cbb4a5/attachment.htm>


More information about the gerrit-log mailing list