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
This commit is contained in:
Harald Welte 2020-10-10 18:46:12 +02:00
parent f3d3a72caf
commit c46ea3cefc
1 changed files with 1 additions and 1 deletions

View File

@ -1626,7 +1626,7 @@ testcase TC_early_conn_fail() runs on test_CT {
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));