path: root/bsc/BSC_Tests.ttcn
diff options
authorDaniel Willmann <>2018-08-02 14:06:30 +0200
committerHarald Welte <>2018-08-10 07:20:11 +0000
commitf4ac4cea516f22f9a229b3ba109bdfebf5019e7c (patch)
treedb3fc8a5ca8cae288dc53c96a0500197157eba02 /bsc/BSC_Tests.ttcn
parent4880be438522d77a02b8e5dda65a649073dc1e1e (diff)
bsc: Wait for immedate assignment in f_chreq_act_ack
Sometimes TC_chan_rel_hard_rlsd_ms_dead could fail because the Immediate assignment command would arrive in the RSL queue after it was cleared in f_expect_chan_rel. The alt statement would now never complete since the Immediate Assignment was blocking/hogging the queue. Wait explicitly for the IMM ASS in f_chreq_act_ack before continuing. Change-Id: I2831d4caf7f045b3396d28a978328e8a1097d8d3
Diffstat (limited to 'bsc/BSC_Tests.ttcn')
1 files changed, 1 insertions, 0 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 5af4573..e94b781 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -642,6 +642,7 @@ runs on test_CT return RslChannelNr {
rx_rsl := f_exp_ipa_rx(0, tr_RSL_MsgTypeD(RSL_MT_CHAN_ACTIV));
var RslChannelNr chan_nr := rx_rsl.ies[0].body.chan_nr;
f_ipa_tx(0, ts_RSL_CHAN_ACT_ACK(chan_nr, fn+10));
+ rx_rsl := f_exp_ipa_rx(0, tr_RSL_IMM_ASSIGN(0));
return chan_nr;